log-like commands now use -G for --graph, -g for --git
authorJim Correia <jim.correia@pobox.com>
Sat, 14 Feb 2009 22:41:18 +0100
changeset 7763 cdc913e7fc5f
parent 7762 fece056bf240
child 7764 14a42208d8af
log-like commands now use -G for --graph, -g for --git
hgext/graphlog.py
mercurial/commands.py
--- a/hgext/graphlog.py	Sat Feb 14 22:40:39 2009 +0100
+++ b/hgext/graphlog.py	Sat Feb 14 22:41:18 2009 +0100
@@ -409,7 +409,7 @@
             return wrapfn(*args, **kwargs)
         return orig(*args, **kwargs)
     entry = extensions.wrapcommand(table, cmd, graph)
-    entry[1].append(('g', 'graph', None, _("show the revision DAG")))
+    entry[1].append(('G', 'graph', None, _("show the revision DAG")))
 
 cmdtable = {
     "glog":
--- a/mercurial/commands.py	Sat Feb 14 22:40:39 2009 +0100
+++ b/mercurial/commands.py	Sat Feb 14 22:41:18 2009 +0100
@@ -3001,7 +3001,7 @@
 
 logopts = [
     ('p', 'patch', None, _('show patch')),
-    ('',  'git', None, _('use git extended diff format')),
+    ('g', 'git', None, _('use git extended diff format')),
     ('l', 'limit', '', _('limit number of changes displayed')),
     ('M', 'no-merges', None, _('do not show merges')),
 ] + templateopts
@@ -3392,7 +3392,7 @@
     "tip":
         (tip,
          [('p', 'patch', None, _('show patch')),
-          ('',  'git', None, _('use git extended diff format')),
+          ('g', 'git', None, _('use git extended diff format')),
          ] + templateopts,
          _('[-p]')),
     "unbundle":