Mercurial > hg
changeset 7004:90227c42b5f6
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.
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Mon, 08 Sep 2008 00:50:34 +0200 |
parents | 2365c6d4c330 |
children | 7739b61897df |
files | mercurial/verify.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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: