~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

Unfuck InterTree.compare which I broke with the paths2ids implementation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
233
233
        :param require_versioned: If False, do not raise NotVersionedError if
234
234
            an element of paths is not versioned in this tree and all of trees.
235
235
        """
236
 
        return find_ids_across_trees(paths, [self] + trees, require_versioned)
 
236
        return find_ids_across_trees(paths, [self] + list(trees), require_versioned)
237
237
 
238
238
    def print_file(self, file_id):
239
239
        """Print file with id `file_id` to stdout."""
568
568
        """
569
569
        # NB: show_status depends on being able to pass in non-versioned files
570
570
        # and report them as unknown
571
 
        trees = (self.source, self.target)
 
571
        trees = (self.source,)
572
572
        if extra_trees is not None:
573
573
            trees = trees + tuple(extra_trees)
574
574
        # target is usually the newer tree:
575
 
        specific_file_ids = self.target.paths2ids(specific_files, [self.source],
 
575
        specific_file_ids = self.target.paths2ids(specific_files, trees,
576
576
            require_versioned=require_versioned)
577
577
        if specific_files and not specific_file_ids:
578
578
            # All files are unversioned, so just return an empty delta