~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/export/zip_exporter.py

Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
    inv = tree.inventory
39
39
 
40
40
    try:
41
 
        for dp, ie in inv.iter_entries():
 
41
        entries = inv.iter_entries()
 
42
        entries.next() # skip root
 
43
        for dp, ie in entries:
42
44
            # .bzrignore has no meaning outside of a working tree
43
45
            # so do not export it
44
46
            if dp == ".bzrignore":