~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2005-05-25 03:54:51 UTC
  • Revision ID: mbp@sourcefrog.net-20050525035451-a30c3d0cafb3349a
- fix up Inventory.entries()
- make 'inventory' command use entries() for performance testing

Show diffs side-by-side

added added

removed removed

Lines of Context:
307
307
        else:
308
308
            inv = b.get_revision_inventory(b.lookup_revision(revision))
309
309
 
310
 
        for path, entry in inv.iter_entries():
 
310
        for path, entry in inv.entries():
311
311
            print '%-50s %s' % (entry.file_id, path)
312
312
 
313
313