[Pkg-bazaar-commits] ./bzr/unstable r573: - new exception NotBranchError

Martin Pool mbp at sourcefrog.net
Fri Apr 10 08:19:34 UTC 2009


------------------------------------------------------------
revno: 573
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Fri 2005-05-27 14:07:05 +1000
message:
  - new exception NotBranchError
modified:
  bzrlib/errors.py
-------------- next part --------------
=== modified file 'bzrlib/errors.py'
--- a/bzrlib/errors.py	2005-05-03 07:48:16 +0000
+++ b/bzrlib/errors.py	2005-05-27 04:07:05 +0000
@@ -34,6 +34,11 @@
     pass
 
 
+class NotBranchError(BzrError):
+    """Specified path is not in a branch"""
+    pass
+
+
 def bailout(msg, explanation=[]):
     ex = BzrError(msg, explanation)
     import trace



More information about the Pkg-bazaar-commits mailing list