~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transform.py

  • Committer: Ian Clatworthy
  • Date: 2008-07-23 15:24:29 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-20080723152429-4d6i4g477mdhnkv7
expand filter context to support interesting stuff

Show diffs side-by-side

added added

removed removed

Lines of Context:
1907
1907
                contents = accelerator_tree.get_file(file_id, accelerator_path)
1908
1908
                filters = tree._content_filter_stack(tree_path)
1909
1909
                contents = filtered_output_bytes(contents, filters,
1910
 
                    ContentFilterContext(tree_path))
 
1910
                    ContentFilterContext(tree_path, tree))
1911
1911
                try:
1912
1912
                    tt.create_file(contents, trans_id)
1913
1913
                finally:
1922
1922
            tree.iter_files_bytes(new_desired_files)):
1923
1923
        filters = tree._content_filter_stack(tree_path)
1924
1924
        contents = filtered_output_bytes(contents, filters,
1925
 
            ContentFilterContext(tree_path))
 
1925
            ContentFilterContext(tree_path, tree))
1926
1926
        tt.create_file(contents, trans_id)
1927
1927
        pb.update('Adding file contents', count + offset, total)
1928
1928