Mercurial > hg
comparison hgext/graphlog.py @ 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 | 4ad12930a459 |
children | 4a4c7f6a5912 |
comparison
equal
deleted
inserted
replaced
7762:fece056bf240 | 7763:cdc913e7fc5f |
---|---|
407 def graph(orig, *args, **kwargs): | 407 def graph(orig, *args, **kwargs): |
408 if kwargs['graph']: | 408 if kwargs['graph']: |
409 return wrapfn(*args, **kwargs) | 409 return wrapfn(*args, **kwargs) |
410 return orig(*args, **kwargs) | 410 return orig(*args, **kwargs) |
411 entry = extensions.wrapcommand(table, cmd, graph) | 411 entry = extensions.wrapcommand(table, cmd, graph) |
412 entry[1].append(('g', 'graph', None, _("show the revision DAG"))) | 412 entry[1].append(('G', 'graph', None, _("show the revision DAG"))) |
413 | 413 |
414 cmdtable = { | 414 cmdtable = { |
415 "glog": | 415 "glog": |
416 (graphlog, | 416 (graphlog, |
417 [('l', 'limit', '', _('limit number of changes displayed')), | 417 [('l', 'limit', '', _('limit number of changes displayed')), |