~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

merge merge tweaks from aaron, which includes latest .dev

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: