tests: add regression tests for another revrange edge case stable
authorKevin Bullock <kbullock@ringworld.org>
Wed, 23 Jan 2013 11:55:39 -0600
branchstable
changeset 18468 275224c6e89c
parent 18467 e441657b372b
child 18469 ddbe689af784
tests: add regression tests for another revrange edge case These tests would've passed before ac0c12123743 and e441657b372b. Inserting them to make sure that continues to be the case.
tests/test-glog.t
tests/test-log.t
--- a/tests/test-glog.t	Wed Jan 23 00:20:26 2013 -0600
+++ b/tests/test-glog.t	Wed Jan 23 11:55:39 2013 -0600
@@ -2116,5 +2116,10 @@
      user:
      date:        Thu Jan 01 00:00:00 1970 +0000
   
+  $ hg glog -r null:null
+  o  changeset:   -1:000000000000
+     user:
+     date:        Thu Jan 01 00:00:00 1970 +0000
+  
 
   $ cd ..
--- a/tests/test-log.t	Wed Jan 23 00:20:26 2013 -0600
+++ b/tests/test-log.t	Wed Jan 23 11:55:39 2013 -0600
@@ -1304,5 +1304,10 @@
   user:        
   date:        Thu Jan 01 00:00:00 1970 +0000
   
+  $ hg log -r null:null
+  changeset:   -1:000000000000
+  user:        
+  date:        Thu Jan 01 00:00:00 1970 +0000
+  
 
   $ cd ..