/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

  • Committer: Ian Clatworthy
  • Date: 2008-04-17 12:16:17 UTC
  • mto: (4171.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 4173.
  • Revision ID: ian.clatworthy@canonical.com-20080417121617-0xggo6gr7cdmrly6
tests for ..input_file and ..output_lines

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    )
32
32
from bzrlib.decorators import needs_read_lock
33
33
from bzrlib.errors import BzrError, BzrCheckError
34
 
from bzrlib.filters import filtered_writelines, filters_for_path
 
34
from bzrlib.filters import filtered_output_lines, filters_for_path
35
35
from bzrlib import errors
36
36
from bzrlib.inventory import Inventory, InventoryFile
37
37
from bzrlib.inter import InterObject
427
427
    def print_file(self, file_id):
428
428
        """Print file with id `file_id` to stdout."""
429
429
        import sys
430
 
        filtered_writelines(sys.stdout, self.get_file_lines(file_id),
431
 
            filters_for_path(self.id2path(file_id)))
 
430
        sys.stdout.writelines(filtered_output_lines(
 
431
            self.get_file_lines(file_id),
 
432
            filters_for_path(self.id2path(file_id))))
432
433
 
433
434
    def lock_read(self):
434
435
        pass