~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

(jelmer) Remove deprecated Repository.iter_reverse_revision_history. (Jelmer
 Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
981
981
            raise AssertionError('_iter_for_revno returned too much history')
982
982
        return (True, partial_history[-1])
983
983
 
984
 
    @symbol_versioning.deprecated_method(symbol_versioning.deprecated_in((2, 4, 0)))
985
 
    def iter_reverse_revision_history(self, revision_id):
986
 
        """Iterate backwards through revision ids in the lefthand history
987
 
 
988
 
        :param revision_id: The revision id to start with.  All its lefthand
989
 
            ancestors will be traversed.
990
 
        """
991
 
        graph = self.get_graph()
992
 
        stop_revisions = (None, _mod_revision.NULL_REVISION)
993
 
        return graph.iter_lefthand_ancestry(revision_id, stop_revisions)
994
 
 
995
984
    def is_shared(self):
996
985
        """Return True if this repository is flagged as a shared repository."""
997
986
        raise NotImplementedError(self.is_shared)