diff tests/test-log.t @ 13889:9a96efc4af8a

util: make 'hg log -d --2' abort (issue2734)
author Yun Lee <yunlee.bj@gmail.com>
date Tue, 05 Apr 2011 16:55:47 +0800
parents fe48c57390f2
children e4cfdff6d3f4
line wrap: on
line diff
--- a/tests/test-log.t	Tue Apr 05 12:40:47 2011 +0800
+++ b/tests/test-log.t	Tue Apr 05 16:55:47 2011 +0800
@@ -534,6 +534,11 @@
   abort: invalid day spec, use '<DATE'
   [255]
 
+Negative ranges
+  $ hg log -d "--2"
+  abort: -2 must be nonnegative (see 'hg help dates')
+  [255]
+
 
 log -p -l2 --color=always