/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/workingtree_4.py

  • Committer: Robert Collins
  • Date: 2007-09-21 06:10:31 UTC
  • mfrom: (2844 +trunk)
  • mto: (2592.3.144 repository)
  • mto: This revision was merged to the branch mainline in revision 2879.
  • Revision ID: robertc@robertcollins.net-20070921061031-p945q13ra1jjcli2
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
931
931
            if not all_versioned:
932
932
                raise errors.PathsNotVersionedError(paths)
933
933
        # -- remove redundancy in supplied paths to prevent over-scanning --
934
 
        search_paths = set()
935
 
        for path in paths:
936
 
            other_paths = paths.difference(set([path]))
937
 
            if not osutils.is_inside_any(other_paths, path):
938
 
                # this is a top level path, we must check it.
939
 
                search_paths.add(path)
 
934
        search_paths = osutils.minimum_path_selection(paths)
940
935
        # sketch: 
941
936
        # for all search_indexs in each path at or under each element of
942
937
        # search_paths, if the detail is relocated: add the id, and add the