Mercurial > public > mercurial-scm > hg
diff hgext/graphlog.py @ 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 | 29c800ee54cf |
children | bfeaa88b875d |
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")))