[PATCH 03 of 10] tests: add tests for predicates and operators which works with wdir()
Pulkit Goyal
7895pulkit at gmail.com
Mon May 22 16:52:13 EDT 2017
# HG changeset patch
# User Pulkit Goyal <7895pulkit at gmail.com>
# Date 1495397153 -19800
# Mon May 22 01:35:53 2017 +0530
# Node ID a3b2977ae12717d214ca4f95a8816ca3339e5332
# Parent 41b4ade12b0f9b227824ed62a515970c1ebbeb94
tests: add tests for predicates and operators which works with wdir()
This one is cluttering up the test file though.
diff --git a/tests/test-revset.t b/tests/test-revset.t
--- a/tests/test-revset.t
+++ b/tests/test-revset.t
@@ -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'
More information about the Mercurial-devel
mailing list