~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Martin Pool
  • Date: 2005-09-20 04:59:34 UTC
  • mfrom: (1185.1.32)
  • mto: (1185.8.2)
  • mto: This revision was merged to the branch mainline in revision 1390.
  • Revision ID: mbp@sourcefrog.net-20050920045934-2b9a193376bc9b7e
- merge integration from robertc
robertc@robertcollins.net-20050919064054-0da08709ee180b79

Show diffs side-by-side

added added

removed removed

Lines of Context:
898
898
        from bzrlib.commit import commit
899
899
        commit(self, *args, **kw)
900
900
        
901
 
 
902
901
    def revision_id_to_revno(self, revision_id):
903
902
        """Given a revision id, return its revno"""
904
903
        history = self.revision_history()
907
906
        except ValueError:
908
907
            raise bzrlib.errors.NoSuchRevision(self, revision_id)
909
908
 
910
 
 
911
909
    def get_rev_id(self, revno, history=None):
912
910
        """Find the revision id of the specified revno."""
913
911
        if revno == 0: