~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

  • Committer: Robert Collins
  • Date: 2005-11-22 21:28:30 UTC
  • mfrom: (1185.33.32 bzr.dev)
  • Revision ID: robertc@robertcollins.net-20051122212830-885c284847f0b17b
Merge from mpool.

Show diffs side-by-side

added added

removed removed

Lines of Context:
297
297
    mutter('export version %r', tree)
298
298
    inv = tree.inventory
299
299
    for dp, ie in inv.iter_entries():
300
 
        ie.put_on_disk(dest, dp, tree)
 
300
        if dp != ".bzrignore":
 
301
            ie.put_on_disk(dest, dp, tree)
301
302
 
302
303
exporters['dir'] = dir_exporter
303
304
 
346
347
        mutter('export version %r', tree)
347
348
        inv = tree.inventory
348
349
        for dp, ie in inv.iter_entries():
349
 
            mutter("  export {%s} kind %s to %s", ie.file_id, ie.kind, dest)
350
 
            item, fileobj = ie.get_tar_item(root, dp, now, tree)
351
 
            ball.addfile(item, fileobj)
 
350
            if dp != ".bzrignore":
 
351
                mutter("  export {%s} kind %s to %s" % (ie.file_id, ie.kind, dest))
 
352
                item, fileobj = ie.get_tar_item(root, dp, now, tree)
 
353
                ball.addfile(item, fileobj)
352
354
        ball.close()
353
355
 
354
356
    exporters['tar'] = tar_exporter