Submitter | phabricator |
---|---|
Date | March 1, 2018, 7:11 p.m. |
Message ID | <858ec39ce9950e146cead53cbe8102fe@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/28577/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -2196,7 +2196,8 @@ else: break else: - raise error.ParseError(_('invalid date: %r') % date) + raise error.ParseError( + _('invalid date: %s') % pycompat.bytestr(repr(date))) # validate explicit (probably user-specified) date and # time zone offset. values must fit in signed 32 bits for # current 32-bit linux runtimes. timezones go from UTC-12