##// END OF EJS Templates
graphlog: do not swallow all TypeError exceptions (fix 29c800ee54cf)
Markus F.X.J. Oberhumer -
r13669:12f60626 default
parent child Browse files
Show More
@@ -324,6 +324,7 def _wrapcmd(ui, cmd, table, wrapfn):
324 except TypeError, e:
324 except TypeError, e:
325 if len(args) > wrapfn.func_code.co_argcount:
325 if len(args) > wrapfn.func_code.co_argcount:
326 raise util.Abort(_('--graph option allows at most one file'))
326 raise util.Abort(_('--graph option allows at most one file'))
327 raise
327 return orig(*args, **kwargs)
328 return orig(*args, **kwargs)
328 entry = extensions.wrapcommand(table, cmd, graph)
329 entry = extensions.wrapcommand(table, cmd, graph)
329 entry[1].append(('G', 'graph', None, _("show the revision DAG")))
330 entry[1].append(('G', 'graph', None, _("show the revision DAG")))
General Comments 0
You need to be logged in to leave comments. Login now