test-exchange-case-D1: avoid stripping obsolescence marker
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 15 Jun 2017 12:59:38 +0200
changeset 2560 0deafa671152
parent 2559 08fe25f249fc
child 2561 9c2b7b8f8f5d
test-exchange-case-D1: 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-D1.t
--- a/tests/test-exchange-obsmarkers-case-D1.t	Wed Jun 14 15:08:40 2017 +0200
+++ b/tests/test-exchange-obsmarkers-case-D1.t	Thu Jun 15 12:59:38 2017 +0200
@@ -63,7 +63,7 @@
   $ hg debugobsolete `getid 'desc(A0)'` `getid 'desc(A1)'`
   $ hg prune -d '0 0' 'desc(B)'
   1 changesets pruned
-  $ hg strip --hidden -q 'desc(A0)'
+  $ hg strip --hidden -q 'desc(A0)' --config devel.strip-obsmarkers=no
   $ hg log -G --hidden
   @  e5ea8f9c7314 (draft): A1
   |