changeset 22858:d7cedb32a8ab

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.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Thu, 09 Oct 2014 04:40:04 -0700
parents 88e8a18329d3
children 513c0ba61db8
files tests/test-import.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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