[PATCH] graphlog: do not swallow all TypeError exceptions (fix 29c800ee54cf)
Markus F.X.J. Oberhumer
markus at oberhumer.com
Wed Mar 16 17:59:16 CDT 2011
# HG changeset patch
# User Markus F.X.J. Oberhumer <markus at oberhumer.com>
# Date 1300316095 -3600
# Node ID 411cfb1480a50e1e69fe74a48ef80f0d52834b1a
# Parent 0ed7191e536db675eec5eff19f75f205c2139977
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 @@
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")))
More information about the Mercurial-devel
mailing list