~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/versionedfile.py

(Gary van der Merwe) Add bzrlib.graph.StackedParentsProvider as a
        public API, deprecating the old name of '_StackedParentsProvider'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
    revision,
41
41
    ui,
42
42
    )
43
 
from bzrlib.graph import DictParentsProvider, Graph, _StackedParentsProvider
 
43
from bzrlib.graph import DictParentsProvider, Graph, StackedParentsProvider
44
44
from bzrlib.transport.memory import MemoryTransport
45
45
""")
46
46
from bzrlib.inter import InterObject
1333
1333
            result[revision.NULL_REVISION] = ()
1334
1334
        self._providers = self._providers[:1] + self.fallback_versionedfiles
1335
1335
        result.update(
1336
 
            _StackedParentsProvider(self._providers).get_parent_map(keys))
 
1336
            StackedParentsProvider(self._providers).get_parent_map(keys))
1337
1337
        for key, parents in result.iteritems():
1338
1338
            if parents == ():
1339
1339
                result[key] = (revision.NULL_REVISION,)