diff tests/test-revset.t @ 23956:b1e026c25552 stable

revset: fix ancestors(null) to include null revision (issue4512) Since 13c0327eeb6f, null parent is explicitly excluded. So, there is no reason to have nullrev in the initial seen set.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 25 Jan 2015 20:20:27 +0900
parents 310222feb9a8
children eeb5d5ab14a6
line wrap: on
line diff
--- a/tests/test-revset.t	Sat Jan 10 13:14:00 2015 +0900
+++ b/tests/test-revset.t	Sun Jan 25 20:20:27 2015 +0900
@@ -477,6 +477,10 @@
   hg: parse error: rev expects a number
   [255]
 
+Test null revision
+  $ log 'ancestors(null)'
+  -1
+
   $ log 'outgoing()'
   8
   9