diff mercurial/util.py @ 3263: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	Tue Oct 03 12:33:18 2006 +0200
+++ b/mercurial/util.py	Tue Oct 03 12:33:22 2006 +0200
@@ -937,7 +937,9 @@
             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