~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Martin Pool
  • Date: 2006-06-20 04:45:30 UTC
  • mto: This revision was merged to the branch mainline in revision 1798.
  • Revision ID: mbp@sourcefrog.net-20060620044530-6e8a6f4b6f3bc525
Cleanup of imports; undeprecate all_revision_ids()

Thanks to John for review comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
        """Return all the possible revisions that we could find."""
118
118
        return self.get_inventory_weave().versions()
119
119
 
120
 
    @deprecated_method(zero_nine)
121
120
    def all_revision_ids(self):
122
121
        """Returns a list of all the revision ids in the repository. 
123
122
 
463
462
        """
464
463
        result = Graph()
465
464
        if not revision_ids:
466
 
            pending = set(self._all_revision_ids())
 
465
            pending = set(self.all_revision_ids())
467
466
            required = set([])
468
467
        else:
469
468
            pending = set(revision_ids)
859
858
        vf = self._get_revision_vf()
860
859
        versions = set(vf.versions())
861
860
        if not revision_ids:
862
 
            pending = set(self._all_revision_ids())
 
861
            pending = set(self.all_revision_ids())
863
862
            required = set([])
864
863
        else:
865
864
            pending = set(revision_ids)