diff tests/test-log.t @ 18466:ac0c12123743 stable

log: remove any ancestors of nullrev (issue3772) For the special case, ":null" we remove the implied revision 0 since that wouldn't make any sense here. A test case is added to make sure only nullrev is shown.
author Sean Farley <sean.michael.farley@gmail.com>
date Wed, 23 Jan 2013 00:12:52 -0600
parents 8802277c40ee
children 275224c6e89c
line wrap: on
line diff
--- a/tests/test-log.t	Tue Jan 22 18:40:23 2013 -0600
+++ b/tests/test-log.t	Wed Jan 23 00:12:52 2013 -0600
@@ -1296,4 +1296,13 @@
   changeset:   0:65624cd9070a
   $ hg log -l1 .d6/f1 | grep changeset
   changeset:   0:65624cd9070a
+
+issue3772: hg log -r :null showing revision 0 as well
+
+  $ hg log -r :null
+  changeset:   -1:000000000000
+  user:        
+  date:        Thu Jan 01 00:00:00 1970 +0000
+  
+
   $ cd ..