# HG changeset patch # User Benoit Boissinot # Date 1220827834 -7200 # 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 -r 2365c6d4c330 -r 90227c42b5f6 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: