mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
graphlog: do not swallow all TypeError exceptions (fix fe7058294ec5)
This commit is contained in:
parent
c2ca636151
commit
17565c031b
@ -324,6 +324,7 @@ def _wrapcmd(ui, cmd, table, wrapfn):
|
||||
except TypeError, e:
|
||||
if len(args) > wrapfn.func_code.co_argcount:
|
||||
raise util.Abort(_('--graph option allows at most one file'))
|
||||
raise
|
||||
return orig(*args, **kwargs)
|
||||
entry = extensions.wrapcommand(table, cmd, graph)
|
||||
entry[1].append(('G', 'graph', None, _("show the revision DAG")))
|
||||
|
Loading…
Reference in New Issue
Block a user