/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/tree.py

Merge fix from mainline

Show diffs side-by-side

added added

removed removed

Lines of Context:
242
242
        :param require_versioned: If False, do not raise NotVersionedError if
243
243
            an element of paths is not versioned in this tree and all of trees.
244
244
        """
245
 
        return find_ids_across_trees(paths, [self] + trees, require_versioned)
 
245
        return find_ids_across_trees(paths, [self] + list(trees), require_versioned)
246
246
 
247
247
    def print_file(self, file_id):
248
248
        """Print file with id `file_id` to stdout."""
577
577
        """
578
578
        # NB: show_status depends on being able to pass in non-versioned files
579
579
        # and report them as unknown
580
 
        trees = (self.source, self.target)
 
580
        trees = (self.source,)
581
581
        if extra_trees is not None:
582
582
            trees = trees + tuple(extra_trees)
583
583
        # target is usually the newer tree:
584
 
        specific_file_ids = self.target.paths2ids(specific_files, [self.source],
 
584
        specific_file_ids = self.target.paths2ids(specific_files, trees,
585
585
            require_versioned=require_versioned)
586
586
        if specific_files and not specific_file_ids:
587
587
            # All files are unversioned, so just return an empty delta