/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/textinv.py

  • Committer: John Arbash Meinel
  • Date: 2006-08-16 18:38:57 UTC
  • mfrom: (1934 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1937.
  • Revision ID: john@arbash-meinel.com-20060816183857-7307edffa7098bd2
[merge] bzr.dev 1934

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
def write_text_inventory(inv, outf):
53
53
    """Write out inv in a simple trad-unix text format."""
54
54
    outf.write(START_MARK)
55
 
    for path, ie in inv.iter_entries():
56
 
        if ie.kind == 'root_directory':
57
 
            continue
58
 
        
 
55
    entries = inv.iter_entries()
 
56
    entries.next()
 
57
    for path, ie in entries:
59
58
        outf.write(ie.file_id + ' ')
60
59
        outf.write(escape(ie.name) + ' ')
61
60
        outf.write(ie.kind + ' ')