Show More
@@ -1209,6 +1209,9 b' def matchdate(date):' | |||
|
1209 | 1209 | days = int(date[1:]) |
|
1210 | 1210 | except ValueError: |
|
1211 | 1211 | raise Abort(_("invalid day spec: %s") % date[1:]) |
|
1212 | if days < 0: | |
|
1213 | raise Abort(_("%s must be nonnegative (see 'hg help dates')") | |
|
1214 | % date[1:]) | |
|
1212 | 1215 | when = makedate()[0] - days * 3600 * 24 |
|
1213 | 1216 | return lambda x: x >= when |
|
1214 | 1217 | elif " to " in date: |
General Comments 0
You need to be logged in to leave comments.
Login now