~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/knitrepo.py

  • Committer: John Arbash Meinel
  • Date: 2007-12-18 19:42:10 UTC
  • mto: This revision was merged to the branch mainline in revision 3126.
  • Revision ID: john@arbash-meinel.com-20071218194210-hrciq0bscpg2ge3p
Deprecate get_parents() in favor of get_parent_map()

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    lockable_files,
31
31
    lockdir,
32
32
    osutils,
 
33
    symbol_versioning,
33
34
    transactions,
34
35
    xml5,
35
36
    xml6,
58
59
    def __repr__(self):
59
60
        return 'KnitParentsProvider(%r)' % self._knit
60
61
 
 
62
    @symbol_versioning.deprecated_method(symbol_versioning.one_one)
61
63
    def get_parents(self, revision_ids):
62
64
        """See graph._StackedParentsProvider.get_parents"""
63
65
        parent_map = self.get_parent_map(revision_ids)