Mercurial > hg > mercurial-source
changeset 30747:73b1c328a7da
util: use single quotes in use warning
author | timeless <timeless@mozdev.org> |
---|---|
date | Tue, 20 Sep 2016 23:48:30 +0000 |
parents | 42d031560294 |
children | 3d2ea1403c62 |
files | mercurial/util.py tests/test-parse-date.t |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/util.py +++ b/mercurial/util.py @@ -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