changeset 7763:cdc913e7fc5f

log-like commands now use -G for --graph, -g for --git
author Jim Correia <jim.correia@pobox.com>
date Sat, 14 Feb 2009 22:41:18 +0100
parents fece056bf240
children 14a42208d8af
files hgext/graphlog.py mercurial/commands.py
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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":