changeset 13669:12f60626d817

graphlog: do not swallow all TypeError exceptions (fix 29c800ee54cf)
author Markus F.X.J. Oberhumer <markus@oberhumer.com>
date Wed, 16 Mar 2011 23:54:55 +0100
parents 9a41af6b9f29
children 15b97a1cd60b
files hgext/graphlog.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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")))