test-import.t: use proper revset order
authorPierre-Yves David <pierre-yves.david@fb.com>
Thu, 09 Oct 2014 04:40:04 -0700
changeset 22858 d7cedb32a8ab
parent 22857 88e8a18329d3
child 22859 513c0ba61db8
test-import.t: use proper revset order This test, written after 3.0, is relying on addset being enforced ascending if both side are ascending. We are about to restore the ordering to 2.9 behavior (elements are ordered in the order they are specified). We fix the test before fixing the order.
tests/test-import.t
--- a/tests/test-import.t	Thu Oct 09 04:29:18 2014 -0700
+++ b/tests/test-import.t	Thu Oct 09 04:40:04 2014 -0700
@@ -1428,7 +1428,7 @@
   $ echo 'B' > b # just to make another commit
   $ hg commit -m "a new base"
   created new head
-  $ hg export --rev 'desc("extended jungle") + desc("four")' | hg import --partial -
+  $ hg export --rev 'desc("four") + desc("extended jungle")' | hg import --partial -
   applying patch from stdin
   patching file a
   Hunk #1 FAILED at 0