~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-22 07:12:18 UTC
  • Revision ID: mbp@sourcefrog.net-20050322071218-c64b8e99d7726e04
rename 'find-branch-root' command to just 'root'

Show diffs side-by-side

added added

removed removed

Lines of Context:
368
368
 
369
369
 
370
370
 
371
 
def cmd_find_branch_root(filename=None):
 
371
def cmd_root(filename=None):
 
372
    """Print the branch root."""
372
373
    print bzrlib.branch.find_branch_root(filename)
373
374
    
374
375
 
591
592
    'commit':                 [],
592
593
    'diff':                   [],
593
594
    'file-id':                ['filename'],
594
 
    'find-branch-root':       ['filename?'],
 
595
    'root':                   ['filename?'],
595
596
    'get-file-text':          ['text_id'],
596
597
    'get-inventory':          ['inventory_id'],
597
598
    'get-revision':           ['revision_id'],