tests: add tests for predicates and operators which works with wdir()
This one is cluttering up the test file though.
--- 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'