hgext/graphlog.py
branchstable
changeset 10097 ffa6f2eb934e
parent 10084 4c844f16bf39
child 10111 27457d31ae3f
child 10263 25e572394f5c
--- a/hgext/graphlog.py	Wed Dec 16 23:59:50 2009 +0100
+++ b/hgext/graphlog.py	Fri Dec 18 15:05:42 2009 -0500
@@ -218,7 +218,8 @@
                "only_merges", "user", "only_branch", "prune", "newest_first",
                "no_merges", "include", "exclude"]:
         if op in opts and opts[op]:
-            raise util.Abort(_("--graph option is incompatible with --%s") % op)
+            raise util.Abort(_("--graph option is incompatible with --%s")
+                             % op.replace("_", "-"))
 
 def generate(ui, dag, displayer, showparents, edgefn):
     seen, state = [], asciistate()