~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

MergeĀ fromĀ old-hpss-branch-implementation-test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1971
1971
    def _gen_revision_history(self):
1972
1972
        """Generate the revision history from last revision
1973
1973
        """
1974
 
        self._extend_partial_history()
 
1974
        last_revno, last_revision = self.last_revision_info()
 
1975
        self._extend_partial_history(stop_index=last_revno-1)
1975
1976
        return list(reversed(self._partial_revision_history_cache))
1976
1977
 
1977
1978
    def _extend_partial_history(self, stop_index=None, stop_revision=None):