# HG changeset patch # User Markus F.X.J. Oberhumer # Date 2011-03-16 22:54:55 # Node ID 12f60626d8179c77e93dbc54c4527390a2a11ffb # Parent 9a41af6b9f29cad0cf12073eb2be495488ae740b graphlog: do not swallow all TypeError exceptions (fix 29c800ee54cf) diff --git a/hgext/graphlog.py b/hgext/graphlog.py --- a/hgext/graphlog.py +++ b/hgext/graphlog.py @@ -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")))