[PATCH] Make 'dif' and alias for 'diff'

Michael Ellerman michael at ellerman.id.au
Thu Jun 9 02:49:19 BST 2005


Hi Martin,

Despite trying to reprogram myself I still *consistently* type 'bzr dif' - 
which doesn't work.

This patch would make my life a lot easier :D

cheers

*** modified file 'bzrlib/commands.py'
--- bzrlib/commands.py
+++ bzrlib/commands.py
@@ -631,7 +631,7 @@

     takes_args = ['file*']
     takes_options = ['revision', 'diff-options']
-    aliases = ['di']
+    aliases = ['di', 'dif']

     def run(self, revision=None, file_list=None, diff_options=None):
         from bzrlib.diff import show_diff

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050609/5f10ed02/attachment.pgp 


More information about the bazaar mailing list