~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/export/dir_exporter.py

Merge Tree.changes_from work.

Show diffs side-by-side

added added

removed removed

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