~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/export/dir_exporter.py

  • Committer: Jelmer Vernooij
  • Date: 2011-03-13 19:10:45 UTC
  • mto: This revision was merged to the branch mainline in revision 5724.
  • Revision ID: jelmer@samba.org-20110313191045-3s2f15pi4vgds9as
fix timestamp in tgz files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    ContentFilterContext,
26
26
    filtered_output_bytes,
27
27
    )
28
 
from bzrlib.trace import mutter
29
28
 
30
29
 
31
30
def dir_exporter(tree, dest, root, subdir, filtered=False, force_mtime=None):
37
36
    :note: If the export fails, the destination directory will be
38
37
           left in an incompletely exported state: export is not transactional.
39
38
    """
40
 
    mutter('export version %r', tree)
41
39
    try:
42
40
        os.mkdir(dest)
43
41
    except OSError, e: