mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
graphlog: remove unused arg from _wrapcmd
This commit is contained in:
parent
d5c206ffa2
commit
3d12bdbaa8
@ -383,11 +383,11 @@ def gincoming(ui, repo, source="default", **opts):
|
|||||||
|
|
||||||
def uisetup(ui):
|
def uisetup(ui):
|
||||||
'''Initialize the extension.'''
|
'''Initialize the extension.'''
|
||||||
_wrapcmd(ui, 'log', commands.table, graphlog)
|
_wrapcmd('log', commands.table, graphlog)
|
||||||
_wrapcmd(ui, 'incoming', commands.table, gincoming)
|
_wrapcmd('incoming', commands.table, gincoming)
|
||||||
_wrapcmd(ui, 'outgoing', commands.table, goutgoing)
|
_wrapcmd('outgoing', commands.table, goutgoing)
|
||||||
|
|
||||||
def _wrapcmd(ui, cmd, table, wrapfn):
|
def _wrapcmd(cmd, table, wrapfn):
|
||||||
'''wrap the command'''
|
'''wrap the command'''
|
||||||
def graph(orig, *args, **kwargs):
|
def graph(orig, *args, **kwargs):
|
||||||
if kwargs['graph']:
|
if kwargs['graph']:
|
||||||
|
Loading…
Reference in New Issue
Block a user