~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

Lalo Martins remotebranch patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
576
576
        try:
577
577
            try:
578
578
                return self.revision_store[revision_id]
579
 
            except KeyError:
 
579
            except (IndexError, KeyError):
580
580
                raise bzrlib.errors.NoSuchRevision(self, revision_id)
581
581
        finally:
582
582
            self.unlock()