[PATCH] More builtin aliases

Matthew D. Fuller fullermd at over-yonder.net
Thu Mar 9 05:28:18 GMT 2006


Nonwithstanding the where-aliases-live bog, there are a few additional
aliases I think should exist by default, because I'm a CVS weenie.

"ann" -> "annotate"
"co"  -> "checkout"


Attached.


-- 
Matthew Fuller     (MF4839)   |  fullermd at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.
-------------- next part --------------
=== modified file 'a/bzrlib/builtins.py'
--- a/bzrlib/builtins.py	
+++ b/bzrlib/builtins.py	
@@ -610,6 +610,7 @@
                                  "such access, and also support local commits."
                             ),
                      ]
+    aliases = ['co']
 
     def run(self, branch_location, to_location=None, revision=None, basis=None,
             lightweight=False):
@@ -2089,7 +2090,7 @@
     # TODO: annotate a previous version of a file
     # TODO: if the working copy is modified, show annotations on that 
     #       with new uncommitted lines marked
-    aliases = ['blame', 'praise']
+    aliases = ['ann', 'blame', 'praise']
     takes_args = ['filename']
     takes_options = [Option('all', help='show annotations on all lines'),
                      Option('long', help='show date in annotations'),



More information about the bazaar mailing list