diff mercurial/help.py @ 6163:1f733c2f0165

Document log date ranges and mention 'hg help dates' for all commands (issue998)
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 22 Feb 2008 21:18:48 +0100
parents f077815932ce
children 2713e42dcf4e
line wrap: on
line diff
--- a/mercurial/help.py	Fri Feb 22 11:28:14 2008 +0100
+++ b/mercurial/help.py	Fri Feb 22 21:18:48 2008 +0100
@@ -8,8 +8,11 @@
 helptable = {
     "dates|Date Formats":
     r'''
-    Some commands (backout, commit, tag) allow the user to specify a date.
-    Many date formats are acceptible. Here are some examples:
+    Some commands allow the user to specify a date:
+    backout, commit, import, tag: Specify the commit date.
+    log, revert, update: Select revision(s) by date.
+
+    Many date formats are valid. Here are some examples:
 
     "Wed Dec 6 13:18:29 2006" (local timezone assumed)
     "Dec 6 13:18 -0600" (year assumed, time offset provided)
@@ -33,6 +36,13 @@
     the number of seconds since the epoch (1970-01-01 00:00 UTC). offset
     is the offset of the local timezone, in seconds west of UTC (negative
     if the timezone is east of UTC).
+
+    The log command also accepts date ranges:
+
+    "<{date}" - on or before a given date
+    ">{date}" - on or after a given date
+    "{date} to {date}" - a date range, inclusive
+    "-{days}" - within a given number of days of today
     ''',
 
     'environment|env|Environment Variables':