~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
178
178
        self.branch = branch
179
179
 
180
180
 
 
181
class NoSuchId(BzrNewError):
 
182
    """The file id %(file_id)s is not present in the tree %(tree)s."""
 
183
    
 
184
    def __init__(self, tree, file_id):
 
185
        BzrNewError.__init__(self)
 
186
        self.file_id = file_id
 
187
        self.tree = tree
 
188
 
 
189
 
181
190
class NoWorkingTree(BzrNewError):
182
191
    """No WorkingTree exists for %(base)s."""
183
192