Mercurial > hg > mercurial-crew-with-dirclash
diff mercurial/util.py @ 3252:c9cd63a6fce9
Add documentation about the date formats allowed in the command line
author | Jose M. Prieto <jmprieto@gmx.net> |
---|---|
date | Tue, 03 Oct 2006 12:33:22 +0200 |
parents | e5c9a084ffe3 |
children | ec6f400cff4d |
line wrap: on
line diff
--- a/mercurial/util.py +++ b/mercurial/util.py @@ -937,7 +937,9 @@ def parsedate(string, formats=None): else: break else: - raise ValueError(_('invalid date: %r') % string) + raise ValueError(_('invalid date: %r ' + 'see hg(1) manual page for details') + % string) # 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