c0bd7d8b69ef uses err() instead of warn() but prototype doesn't match
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Mon, 08 Sep 2008 00:50:34 +0200
changeset 7004 90227c42b5f6
parent 7003 2365c6d4c330
child 7005 7739b61897df
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.
mercurial/verify.py
--- 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: