~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Martin Pool
  • Date: 2005-08-05 19:01:37 UTC
  • Revision ID: mbp@sourcefrog.net-20050805190137-96f1d7c1ec9459ab
- fix construction of NoSuchRevision

Show diffs side-by-side

added added

removed removed

Lines of Context:
597
597
            try:
598
598
                return self.revision_store[revision_id]
599
599
            except IndexError:
600
 
                raise bzrlib.errors.NoSuchRevision(revision_id)
 
600
                raise bzrlib.errors.NoSuchRevision(self, revision_id)
601
601
        finally:
602
602
            self.unlock()
603
603