diff tests/test-checkheads-pruned-B8.t @ 2255:5b33df335b6c

checkheads: add test where the rewrite of the other branch is not direct This will help testing that our logic is properly transitive.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Fri, 31 Mar 2017 13:47:14 +0200
parents 2f71f6234b06
children
line wrap: on
line diff
--- a/tests/test-checkheads-pruned-B8.t	Fri Mar 31 13:45:26 2017 +0200
+++ b/tests/test-checkheads-pruned-B8.t	Fri Mar 31 13:47:14 2017 +0200
@@ -65,7 +65,7 @@
   created new head
   $ hg debugobsolete `getid "desc(A0)" ` `getid "desc(A1)"`
   $ hg debugobsolete `getid "desc(B0)" ` `getid "desc(B1)"`
-  $ hg debugobsolete `getid "desc(B1)"`
+  $ hg debugobsolete --record-parents `getid "desc(B1)"`
   $ hg debugobsolete `getid "desc(A1)" ` `getid "desc(A2)"`
   $ hg log -G --hidden
   @  c1f8d089020f (draft): A2
@@ -91,5 +91,5 @@
   adding manifests
   adding file changes
   added 1 changesets with 1 changes to 1 files (+1 heads)
-  2 new obsolescence markers
+  4 new obsolescence markers