/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/export/dir_exporter.py

  • Committer: Jelmer Vernooij
  • Date: 2010-03-08 02:23:17 UTC
  • mto: This revision was merged to the branch mainline in revision 5086.
  • Revision ID: jelmer@samba.org-20100308022317-hmxztr4jz5danig8
Review comments from Rob.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
 
32
32
def dir_exporter(tree, dest, root, subdir, filtered=False,
33
 
                 use_tree_timestamp=False):
 
33
                 per_file_timestamps=False):
34
34
    """Export this tree to a new directory.
35
35
 
36
36
    `dest` should either not exist or should be empty. If it does not exist it
92
92
            out.writelines(chunks)
93
93
        finally:
94
94
            out.close()
95
 
        if use_tree_timestamp:
 
95
        if per_file_timestamps:
96
96
            mtime = tree.get_file_mtime(tree.path2id(relpath), relpath)
97
97
        else:
98
98
            mtime = now