~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/index.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:
35
35
from bzrlib.revision import NULL_REVISION
36
36
from bzrlib.trace import mutter
37
37
""")
38
 
from bzrlib import debug, errors
 
38
from bzrlib import (
 
39
    debug,
 
40
    errors,
 
41
    symbol_versioning,
 
42
    )
39
43
 
40
44
_HEADER_READV = (0, 200)
41
45
_OPTION_KEY_ELEMENTS = "key_elements="
995
999
                self.__class__.__name__,
996
1000
                ', '.join(map(repr, self._indices)))
997
1001
 
 
1002
    @symbol_versioning.deprecated_method(symbol_versioning.one_one)
998
1003
    def get_parents(self, revision_ids):
999
1004
        """See graph._StackedParentsProvider.get_parents.
1000
1005