[Pkg-bazaar-commits] ./bzr/unstable r65: rename 'find-branch-root' command to just 'root'

mbp at sourcefrog.net mbp at sourcefrog.net
Fri Apr 10 07:27:18 UTC 2009


------------------------------------------------------------
revno: 65
committer: mbp at sourcefrog.net
timestamp: Tue 2005-03-22 18:12:18 +1100
message:
  rename 'find-branch-root' command to just 'root'
modified:
  bzrlib/commands.py
-------------- next part --------------
=== modified file 'bzrlib/commands.py'
--- a/bzrlib/commands.py	2005-03-22 07:02:07 +0000
+++ b/bzrlib/commands.py	2005-03-22 07:12:18 +0000
@@ -368,7 +368,8 @@
 
 
 
-def cmd_find_branch_root(filename=None):
+def cmd_root(filename=None):
+    """Print the branch root."""
     print bzrlib.branch.find_branch_root(filename)
     
 
@@ -591,7 +592,7 @@
     'commit':                 [],
     'diff':                   [],
     'file-id':                ['filename'],
-    'find-branch-root':       ['filename?'],
+    'root':                   ['filename?'],
     'get-file-text':          ['text_id'],
     'get-inventory':          ['inventory_id'],
     'get-revision':           ['revision_id'],



More information about the Pkg-bazaar-commits mailing list