Mercurial > evolve
comparison tests/test-exchange-obsmarkers-case-D1.t @ 2560:0deafa671152
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).
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 15 Jun 2017 12:59:38 +0200 |
parents | f2ebe960998b |
children | 51a1dd295fe0 |
comparison
equal
deleted
inserted
replaced
2559:08fe25f249fc | 2560:0deafa671152 |
---|---|
61 $ mkcommit A1 | 61 $ mkcommit A1 |
62 created new head | 62 created new head |
63 $ hg debugobsolete `getid 'desc(A0)'` `getid 'desc(A1)'` | 63 $ hg debugobsolete `getid 'desc(A0)'` `getid 'desc(A1)'` |
64 $ hg prune -d '0 0' 'desc(B)' | 64 $ hg prune -d '0 0' 'desc(B)' |
65 1 changesets pruned | 65 1 changesets pruned |
66 $ hg strip --hidden -q 'desc(A0)' | 66 $ hg strip --hidden -q 'desc(A0)' --config devel.strip-obsmarkers=no |
67 $ hg log -G --hidden | 67 $ hg log -G --hidden |
68 @ e5ea8f9c7314 (draft): A1 | 68 @ e5ea8f9c7314 (draft): A1 |
69 | | 69 | |
70 o a9bdc8b26820 (public): O | 70 o a9bdc8b26820 (public): O |
71 | 71 |