~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/inventory.py

  • Committer: Aaron Bentley
  • Date: 2007-06-21 03:29:39 UTC
  • mto: This revision was merged to the branch mainline in revision 2542.
  • Revision ID: aaron.bentley@utoronto.ca-20070621032939-kcnl1dmxsixygskb
Disable topological sorting of get_ancestry where sensible

Show diffs side-by-side

added added

removed removed

Lines of Context:
181
181
        :param entry_vf: The entry versioned file, if its already available.
182
182
        """
183
183
        def get_ancestors(weave, entry):
184
 
            return set(weave.get_ancestry(entry.revision))
 
184
            return set(weave.get_ancestry(entry.revision, topo_sorted=False))
185
185
        # revision:ie mapping for each ie found in previous_inventories.
186
186
        candidates = {}
187
187
        # revision:ie mapping with one revision for each head.