Mercurial > public > mercurial-scm > hg-stable
diff mercurial/util.py @ 23917:3cbb5bf4035d
messages: quote "hg help" hints consistently
author | Wagner Bruna <wbruna@yahoo.com> |
---|---|
date | Sat, 17 Jan 2015 22:01:14 -0200 |
parents | 4e451d1359de |
children | e5ce49a30146 |
line wrap: on
line diff
--- a/mercurial/util.py Sat Jan 17 18:08:47 2015 -0800 +++ b/mercurial/util.py Sat Jan 17 22:01:14 2015 -0200 @@ -1463,7 +1463,7 @@ except ValueError: raise Abort(_("invalid day spec: %s") % date[1:]) if days < 0: - raise Abort(_("%s must be nonnegative (see 'hg help dates')") + raise Abort(_('%s must be nonnegative (see "hg help dates")') % date[1:]) when = makedate()[0] - days * 3600 * 24 return lambda x: x >= when