/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/transform.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:
32
32
                           ReusingTransform, NotVersionedError, CantMoveRoot,
33
33
                           ExistingLimbo, ImmortalLimbo, NoFinalPath,
34
34
                           UnableCreateSymlink)
35
 
from bzrlib.filters import filtered_writelines, filters_for_path
 
35
from bzrlib.filters import filtered_output_lines, filters_for_path
36
36
from bzrlib.inventory import InventoryEntry
37
37
from bzrlib.osutils import (file_kind, supports_executable, pathjoin, lexists,
38
38
                            delete_any, has_symlinks)
328
328
                os.unlink(name)
329
329
                raise
330
330
 
331
 
            filtered_writelines(f, contents, filters_for_path(name))
 
331
            f.writelines(filtered_output_lines(contents,
 
332
                filters_for_path(name)))
332
333
        finally:
333
334
            f.close()
334
335
        self._set_mode(trans_id, mode_id, S_ISREG)