~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/export/tar_exporter.py

merge 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":