/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

Faster partial commits by walking less data (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
946
946
            if not all_versioned:
947
947
                raise errors.PathsNotVersionedError(paths)
948
948
        # -- remove redundancy in supplied paths to prevent over-scanning --
949
 
        search_paths = set()
950
 
        for path in paths:
951
 
            other_paths = paths.difference(set([path]))
952
 
            if not osutils.is_inside_any(other_paths, path):
953
 
                # this is a top level path, we must check it.
954
 
                search_paths.add(path)
 
949
        search_paths = osutils.minimum_path_selection(paths)
955
950
        # sketch: 
956
951
        # for all search_indexs in each path at or under each element of
957
952
        # search_paths, if the detail is relocated: add the id, and add the