# HG changeset patch # User Benoit Boissinot # Date 2008-09-07 22:50:34 # Node ID 90227c42b5f64f1271946dd8ca7846e591bab492 # Parent 2365c6d4c330415260821aec67580188022b14e7 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. diff --git a/mercurial/verify.py b/mercurial/verify.py --- a/mercurial/verify.py +++ b/mercurial/verify.py @@ -207,8 +207,8 @@ def _verify(repo): 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: