~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Martin Pool
  • Date: 2005-05-27 04:07:05 UTC
  • Revision ID: mbp@sourcefrog.net-20050527040705-e27f29a72af7f91d
- new exception NotBranchError

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
    pass
35
35
 
36
36
 
 
37
class NotBranchError(BzrError):
 
38
    """Specified path is not in a branch"""
 
39
    pass
 
40
 
 
41
 
37
42
def bailout(msg, explanation=[]):
38
43
    ex = BzrError(msg, explanation)
39
44
    import trace