graphlog: do not swallow all TypeError exceptions (fix 29c800ee54cf)
authorMarkus F.X.J. Oberhumer <markus@oberhumer.com>
Wed, 16 Mar 2011 23:54:55 +0100
changeset 13669 12f60626d817
parent 13668 9a41af6b9f29
child 13670 15b97a1cd60b
graphlog: do not swallow all TypeError exceptions (fix 29c800ee54cf)
hgext/graphlog.py
--- a/hgext/graphlog.py	Wed Mar 16 23:54:55 2011 +0100
+++ b/hgext/graphlog.py	Wed Mar 16 23:54:55 2011 +0100
@@ -324,6 +324,7 @@
             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")))