~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

Use Tree.path2ids in status operations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
568
568
        trees = (self.source, self.target)
569
569
        if extra_trees is not None:
570
570
            trees = trees + tuple(extra_trees)
571
 
        specific_file_ids = find_ids_across_trees(specific_files,
572
 
            trees, require_versioned=require_versioned)
 
571
        # target is usually the newer tree:
 
572
        specific_file_ids = self.target.paths2ids(specific_files, [self.source],
 
573
            require_versioned=require_versioned)
573
574
        if specific_files and not specific_file_ids:
574
575
            # All files are unversioned, so just return an empty delta
575
576
            # _compare_trees would think we want a complete delta