effectflag: activate effect flag on test-amend.t test file
Prepare activation of effect flag by default by activating it on test- amend.t
test file first.
====================================Testingheadcheckingcode:CaseD-7====================================Mercurialchecksfortheintroductionofnewheadsonpush.Evolutioncomesintoplaytodetectifexistingbranchesontheserverarebeingreplacedbysomeofthenewonewepush.Thiscaseispartofaseriesoftestscheckingthisbehavior.CategoryD:remoteheadis"obs-affected"locally,butresultisnotpartofthepushTestCase7:singlechangesets,superseededmultipletimethenpruned(onanewchangesetunpushed)changesetThisisapartialpushvariationofB6..old-state:....*1changesetbranch....new-state:....*oldbranchisrewrittenontoanotherone,..*Therewritingitagainrewrittenontheroot..*thenewversionisthenpruned.....expected-result:....*pushallowed....graph-summary:....A'.. A ø⇠ø⇠⊗ A''.. | | |.. C ◔ | ◔ | B.. \|/ /.. | /.. |/.. |.. ● $ . $TESTDIR/testlib/push-checkheads-util.shTest setup---------- $ mkdir D7 $ cd D7 $ setuprepos creating basic server and client repo updating to branch default 2 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd client $ hg up 0 0 files updated, 0 files merged, 1 files removed, 0 files unresolved $ mkcommit B0 created new head $ mkcommit A1 $ hg up '0' 0 files updated, 0 files merged, 2 files removed, 0 files unresolved $ mkcommit A2 created new head $ hg up '0' 0 files updated, 0 files merged, 1 files removed, 0 files unresolved $ mkcommit C0 created new head $ hg debugobsolete `getid "desc(A0)"` `getid "desc(A1)"` $ hg debugobsolete `getid "desc(A1)"` `getid "desc(A2)"` $ hg debugobsolete --record-parents `getid "desc(A2)"` $ hg log -G --hidden @ 0f88766e02d6 (draft): C0 | | x c1f8d089020f (draft): A2 |/ | x ba93660aff8d (draft): A1 | | | o 74ff5441d343 (draft): B0 |/ | x 8aaa48160adc (draft): A0 |/ o 1e4be0697311 (public): rootActual testing-------------- $ hg push --rev 'desc(C0)' pushing to $TESTTMP/D7/server (glob) searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) 3 new obsolescence markers $ cd ../..