test-exchange-case-D2: avoid stripping obsolescence marker
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 15 Jun 2017 12:59:59 +0200
changeset 2561 9c2b7b8f8f5d
parent 2560 0deafa671152
child 2562 279ec10273b8
test-exchange-case-D2: avoid stripping obsolescence marker The test needs to have changeset unknown locally with obsolescence markers still applying to them. So we make sure the markers are not stripped (future 4.3 strip markers by default).
tests/test-exchange-obsmarkers-case-D2.t
--- a/tests/test-exchange-obsmarkers-case-D2.t	Thu Jun 15 12:59:38 2017 +0200
+++ b/tests/test-exchange-obsmarkers-case-D2.t	Thu Jun 15 12:59:59 2017 +0200
@@ -58,7 +58,7 @@
   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
   working directory now at a9bdc8b26820
   1 changesets pruned
-  $ hg strip --hidden -q 'desc(A1)'
+  $ hg strip --hidden -q 'desc(A1)' --config devel.strip-obsmarkers=no
   $ hg log -G --hidden
   x  28b51eb45704 (draft): A0
   |