diff -r 92d67e5729b9 -r b13fdcc4e700 mercurial/error.py --- a/mercurial/error.py Tue Oct 13 11:43:21 2015 -0700 +++ b/mercurial/error.py Tue Oct 13 10:57:54 2015 -0700 @@ -201,3 +201,12 @@ operation which replaces the entire base with new content. This ensures the delta may be applied by clones which have not censored the base. """ + +class InvalidBundleSpecification(Exception): + """error raised when a bundle specification is invalid. + + This is used for syntax errors as opposed to support errors. + """ + +class UnsupportedBundleSpecification(Exception): + """error raised when a bundle specification is not supported."""