add a blame alias for annotate
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Thu, 28 Feb 2008 19:08:04 +0100
changeset 6182 07f2236c4dee
parent 6181 d500aeb8092e
child 6183 0750e4ba9d3d
add a blame alias for annotate The original cvs command was called blame. SVN has both, and other VC systems typically also have this as an alias. Makes things easier for converts.
mercurial/commands.py
--- a/mercurial/commands.py	Thu Feb 28 17:51:04 2008 +0100
+++ b/mercurial/commands.py	Thu Feb 28 19:08:04 2008 +0100
@@ -2775,7 +2775,7 @@
            _('guess renamed files by similarity (0<=s<=100)')),
          ] + walkopts + dryrunopts,
          _('hg addremove [OPTION]... [FILE]...')),
-    "^annotate":
+    "^annotate|blame":
         (annotate,
          [('r', 'rev', '', _('annotate the specified revision')),
           ('f', 'follow', None, _('follow file copies and renames')),