Mercurial > hg
diff mercurial/util.py @ 29977:73b1c328a7da
util: use single quotes in use warning
author | timeless <timeless@mozdev.org> |
---|---|
date | Tue, 20 Sep 2016 23:48:30 +0000 |
parents | 6f447b9ec263 |
children | 0f6d6fdd3c2a |
line wrap: on
line diff
--- a/mercurial/util.py Tue Sep 20 23:48:19 2016 +0000 +++ b/mercurial/util.py Tue Sep 20 23:48:30 2016 +0000 @@ -1953,7 +1953,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