Show More
@@ -1953,7 +1953,7 b' def matchdate(date):' | |||||
1953 | except ValueError: |
|
1953 | except ValueError: | |
1954 | raise Abort(_("invalid day spec: %s") % date[1:]) |
|
1954 | raise Abort(_("invalid day spec: %s") % date[1:]) | |
1955 | if days < 0: |
|
1955 | if days < 0: | |
1956 |
raise Abort(_( |
|
1956 | raise Abort(_("%s must be nonnegative (see 'hg help dates')") | |
1957 | % date[1:]) |
|
1957 | % date[1:]) | |
1958 | when = makedate()[0] - days * 3600 * 24 |
|
1958 | when = makedate()[0] - days * 3600 * 24 | |
1959 | return lambda x: x >= when |
|
1959 | return lambda x: x >= when |
@@ -102,7 +102,7 b' Normal range' | |||||
102 | Negative range |
|
102 | Negative range | |
103 |
|
103 | |||
104 | $ hg log -d "--2" |
|
104 | $ hg log -d "--2" | |
105 |
abort: -2 must be nonnegative (see |
|
105 | abort: -2 must be nonnegative (see 'hg help dates') | |
106 | [255] |
|
106 | [255] | |
107 |
|
107 | |||
108 | Whitespace only |
|
108 | Whitespace only |
General Comments 0
You need to be logged in to leave comments.
Login now