~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/export/tar_exporter.py

  • Committer: Aaron Bentley
  • Date: 2006-08-02 13:02:47 UTC
  • mfrom: (1907 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1934.
  • Revision ID: abentley@panoramicfeedback.com-20060802130247-bf2502d680abed61
Rough merge of bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    ball = tarfile.open(dest, 'w:' + compression)
38
38
    mutter('export version %r', tree)
39
39
    inv = tree.inventory
40
 
    for dp, ie in inv.iter_entries():
 
40
    entries = inv.iter_entries()
 
41
    entries.next() # skip root
 
42
    for dp, ie in entries:
41
43
        # .bzrignore has no meaning outside of a working tree
42
44
        # so do not export it
43
45
        if dp == ".bzrignore":