/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Martin Pool
  • Date: 2005-08-03 14:16:04 UTC
  • Revision ID: mbp@sourcefrog.net-20050803141604-b69a03512e094f37
- better summary help screen

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
    """Commit failed because nothing was changed."""
85
85
 
86
86
 
87
 
class NoSuchRevision(BzrError):
88
 
    def __init__(self, branch, revision):
89
 
        self.branch = branch
90
 
        self.revision = revision
91
 
        msg = "Branch %s has no revision %s" % (branch, revision)
92
 
        BzrError.__init__(self, msg)
93
 
 
94
 
 
 
87
class RevisionNotPresent(Exception):
 
88
    """Revision not present in branch.
 
89
 
 
90
    (It might be a valid revision somewhere else."""
 
91