c0bd7d8b69ef uses err() instead of warn() but prototype doesn't match
we might want to make warn() look more like err() in the future
to avoid this kind of problem.
--- a/mercurial/verify.py Sat Sep 06 17:44:07 2008 +0200
+++ b/mercurial/verify.py Mon Sep 08 00:50:34 2008 +0200
@@ -207,8 +207,8 @@
err(lr, _("empty or missing copy source revlog %s:%s")
% (rp[0], short(rp[1])), f)
elif rp[1] == nullid:
- warn(lr, _("copy source revision is nullid %s:%s")
- % (rp[0], short(rp[1])), f)
+ warn(_("warning: %s@%s: copy source revision is nullid %s:%s")
+ % (f, lr, rp[0], short(rp[1])))
else:
rev = fl2.rev(rp[1])
except Exception, inst: