~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-09-07 23:06:08 UTC
  • mfrom: (1991.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060907230608-4f18ec1bbe03eb8f
(robertc) Improve performance of bzr commit by eliminating the need for one inventory parse.

Show diffs side-by-side

added added

removed removed

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