/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

Update a clean branch with the dirstate improvements.

Show diffs side-by-side

added added

removed removed

Lines of Context:
786
786
        BzrError.__init__(self, spec=spec)
787
787
 
788
788
 
 
789
class NoSuchRevisionInTree(NoSuchRevision):
 
790
    """When using Tree.revision_tree, and the revision is not accessible."""
 
791
    
 
792
    _fmt = "The revision id %(revision_id)s is not present in the tree %(tree)s."
 
793
 
 
794
    def __init__(self, tree, revision_id):
 
795
        BzrError.__init__(self)
 
796
        self.tree = tree
 
797
        self.revision_id = revision_id
 
798
 
 
799
 
789
800
class InvalidRevisionSpec(BzrError):
790
801
 
791
802
    _fmt = "Requested revision: %(spec)r does not exist in branch: %(branch)s%(extra)s"