tests: check that we delete evolvestate correctly after abort/stop
This patch adds test to check whether we delete the evolvestate correctly after
aborting or stopping an interrupted evolve which is caused because of `next
--evolve`.
====================================Testingheadcheckingcode:CaseA-2====================================Mercurialchecksfortheintroductionofnewheadsonpush.Evolutioncomesintoplaytodetectifexistingbranchesontheserverarebeingreplacedbysomeofthenewonewepush.Thiscaseispartofaseriesoftestscheckingthisbehavior.CategoryA:simplecaseinvolvingabranchbeingsuperceededbyanother.TestCase2:multi-changesetbranch..old-state:....*1branchwith2changesets....new-state:....*another2-changesetbranchsucceedingtheoldone....expected-result:....*pushallowed....graph-summary:....Bø⇠◔B'.. | |.. A ø⇠◔ A'..|/..●$.$TESTDIR/testlib/push-checkheads-util.shTestsetup----------$mkdirA2$cdA2$setupreposcreatingbasicserverandclientrepoupdatingtobranchdefault2filesupdated,0filesmerged,0filesremoved,0filesunresolved$cdserver$mkcommitB0$cd../client$hgpullpullingfrom$TESTTMP/A2/server(glob)searchingforchangesaddingchangesetsaddingmanifestsaddingfilechangesadded1changesetswith1changesto1filesnewchangesetsd73caddc5533(run'hg update'togetaworkingcopy)$hgup00filesupdated,0filesmerged,1filesremoved,0filesunresolved$mkcommitA1creatednewhead$mkcommitB1$hgdebugobsolete`getid"desc(A0)"``getid"desc(A1)"`obsoleted1changesets1neworphanchangesets$hgdebugobsolete`getid"desc(B0)"``getid"desc(B1)"`obsoleted1changesets$hglog-G--hidden@262c8c798096(draft):B1|of6082bc4ffef(draft):A1||xd73caddc5533(draft):B0|||x8aaa48160adc(draft):A0|/o1e4be0697311(public):rootActualtesting--------------$hgpushpushingto$TESTTMP/A2/server(glob)searchingforchangesaddingchangesetsaddingmanifestsaddingfilechangesadded2changesetswith2changesto2files(+1heads)2newobsolescencemarkersobsoleted2changesets$cd../..