diff tests/test-revset.t @ 32437:f03dcb3f95a5

tests: add tests for predicates and operators which works with wdir() This one is cluttering up the test file though.
author Pulkit Goyal <7895pulkit@gmail.com>
date Mon, 22 May 2017 01:35:53 +0530
parents f064e2f72c49
children c8fb2a82b5f9
line wrap: on
line diff
--- a/tests/test-revset.t	Mon May 22 01:01:45 2017 +0530
+++ b/tests/test-revset.t	Mon May 22 01:35:53 2017 +0530
@@ -1227,6 +1227,14 @@
   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
   $ hg debugrevspec 'wdir()^'
   7
+  $ hg debugrevspec 'wdir()^0'
+  2147483647
+  $ hg debugrevspec 'wdir()~0'
+  2147483647
+  $ hg debugrevspec 'p1(wdir())'
+  7
+  $ hg debugrevspec 'parents(wdir())'
+  7
   $ hg debugrevspec 'wdir()^1'
   7
   $ hg debugrevspec 'wdir()^2'