~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/graph.py

  • Committer: Gary van der Merwe
  • Date: 2009-05-28 14:53:26 UTC
  • mto: This revision was merged to the branch mainline in revision 4420.
  • Revision ID: garyvdm@gmail.com-20090528145326-21pogwz2cavtdsfm
Still have _StackedParentsProvider, but mark it as depreciated.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
    debug,
21
21
    errors,
22
22
    revision,
23
 
    symbol_versioning,
24
23
    trace,
25
24
    tsort,
26
25
    )
 
26
from bzrlib.symbol_versioning import deprecated_function, deprecated_in
27
27
 
28
28
STEP_UNIQUE_SEARCHER_EVERY = 5
29
29
 
64
64
        ancestry = self.ancestry
65
65
        return dict((k, ancestry[k]) for k in keys if k in ancestry)
66
66
 
 
67
@deprecated_function(deprecated_in((0, 1, 16)))
 
68
def _StackedParentsProvider(*args, **kwargs):
 
69
    return StackedParentsProvider(*args, **kwargs)
67
70
 
68
71
class StackedParentsProvider(object):
69
72
    """A parents provider which stacks (or unions) multiple providers.