~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: mbp at sourcefrog
  • Date: 2005-03-31 05:02:20 UTC
  • Revision ID: mbp@sourcefrog.net-20050331050220-0bd040ac11108caa
new "directories" command

Show diffs side-by-side

added added

removed removed

Lines of Context:
232
232
        print patchid
233
233
 
234
234
 
 
235
def cmd_directories():
 
236
    for name, ie in Branch('.').read_working_inventory().directories():
 
237
        if name == '':
 
238
            print '.'
 
239
        else:
 
240
            print name
 
241
 
235
242
 
236
243
def cmd_init():
237
244
    # TODO: Check we're not already in a working directory?  At the