~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-06-19 18:33:40 UTC
  • mfrom: (5972.3.25 get-ancestry-is-evil)
  • Revision ID: pqm@pqm.ubuntu.com-20110619183340-ds1rpql77nxrmo4n
(jelmer) Deprecate Repository.get_ancestry(). (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
    static_tuple,
33
33
    symbol_versioning,
34
34
    urlutils,
35
 
    versionedfile,
36
35
    vf_repository,
37
36
    )
38
37
from bzrlib.branch import BranchReferenceFormat, BranchWriteLockResult
1661
1660
        self._real_repository.create_bundle(target, base, fileobj, format)
1662
1661
 
1663
1662
    @needs_read_lock
 
1663
    @symbol_versioning.deprecated_method(
 
1664
        symbol_versioning.deprecated_in((2, 4, 0)))
1664
1665
    def get_ancestry(self, revision_id, topo_sorted=True):
1665
1666
        self._ensure_real()
1666
1667
        return self._real_repository.get_ancestry(revision_id, topo_sorted)