Show More
@@ -383,11 +383,11 b' def gincoming(ui, repo, source="default"' | |||||
383 |
|
383 | |||
384 | def uisetup(ui): |
|
384 | def uisetup(ui): | |
385 | '''Initialize the extension.''' |
|
385 | '''Initialize the extension.''' | |
386 |
_wrapcmd( |
|
386 | _wrapcmd('log', commands.table, graphlog) | |
387 |
_wrapcmd( |
|
387 | _wrapcmd('incoming', commands.table, gincoming) | |
388 |
_wrapcmd( |
|
388 | _wrapcmd('outgoing', commands.table, goutgoing) | |
389 |
|
389 | |||
390 |
def _wrapcmd( |
|
390 | def _wrapcmd(cmd, table, wrapfn): | |
391 | '''wrap the command''' |
|
391 | '''wrap the command''' | |
392 | def graph(orig, *args, **kwargs): |
|
392 | def graph(orig, *args, **kwargs): | |
393 | if kwargs['graph']: |
|
393 | if kwargs['graph']: |
General Comments 0
You need to be logged in to leave comments.
Login now