# HG changeset patch # User FUJIWARA Katsunori # Date 1349281445 -32400 # Node ID 4562570ae0f72fd8fd3a649b993a5bbf0775a35b # Parent 009db477c9fb17869b7ff4b1320f69fc94609578 verify: use appropriate node information to show verification error Before this patch, verify module shows verification error message below: unknown parent 2 of even though it should show: unknown parent 2 of This patch uses appropriate node information. diff -r 009db477c9fb -r 4562570ae0f7 mercurial/verify.py --- a/mercurial/verify.py Thu Oct 04 01:24:05 2012 +0900 +++ b/mercurial/verify.py Thu Oct 04 01:24:05 2012 +0900 @@ -99,7 +99,7 @@ (short(p1), short(n)), f) if p2 not in seen and p2 != nullid: err(lr, _("unknown parent 2 %s of %s") % - (short(p2), short(p1)), f) + (short(p2), short(n)), f) except Exception, inst: exc(lr, _("checking parents of %s") % short(node), inst, f)