changeset 18468:275224c6e89c stable

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.
author Kevin Bullock <kbullock@ringworld.org>
date Wed, 23 Jan 2013 11:55:39 -0600
parents e441657b372b
children ddbe689af784
files tests/test-glog.t tests/test-log.t
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 ..