/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/tar_exporter.py

  • Committer: Jelmer Vernooij
  • Date: 2011-03-14 12:18:38 UTC
  • mto: This revision was merged to the branch mainline in revision 5724.
  • Revision ID: jelmer@samba.org-20110314121838-z78awaohgsme6qht
Don't export to '-', but rather to ''.

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
    else:
107
107
        root_mtime = time.time()
108
108
    if dest == '-':
109
 
        # XXX: If no root is given, the output tarball will contain files
110
 
        # named '-/foo'; perhaps this is the most reasonable thing.
111
109
        stream = gzip.GzipFile(None, mode='w', mtime=root_mtime,
112
110
            fileobj=sys.stdout)
113
111
    else: