test-compat: merge mercurial-5.0 into mercurial-4.9
Testingevolve--continuewithunresolvedconflicts(issue5966)https://bz.mercurial-scm.org/show_bug.cgi?id=5966$.$TESTDIR/testlib/common.sh$hginitissue5966$cdissue5966$cat>.hg/hgrc<<EOF>[phases]>publish=false>[alias]>glog=log-GT"{rev}: {desc}">[extensions]>evolve=>EOF$toucha$hgci-Aqm'empty'$echoapple>a$hgci-m'apple'$echobanana>a$hgci-m'banana'$echococonut>a$hgci-m'coconut'$hgglog@3:coconut|o2:banana|o1:apple|o0:empty$hgup-q1Amendingrevision1inawaythatcausesconflicts$echoapricot>a$hgamend-m'apricot'2neworphanchangesets$hgglog--hidden@4:apricot||*3:coconut|||*2:banana|||x1:apple|/o0:empty$hgevolve-t:fail--rev'first(orphan())'move:[2]bananaatop:[4]apricotunresolvedmergeconflicts(see'hg help evolve.interrupted')[1]$hgevolve--list34a690fcf6ab:bananaorphan:7f59f18ca4a9(obsoleteparent)feb8c0bffa1f:coconutorphan:34a690fcf6ab(orphanparent)Evolveshoulddetectunresolvedconflict.$hgresolve--listUa$hgevolve--continueabort:unresolvedmergeconflicts(see'hg help resolve')[255](evenwhenrantwice)$hgevolve--continueabort:unresolvedmergeconflicts(see'hg help resolve')[255]$cataapricot$hgresolve--listUa$hgresolvea-t:other(nomoreunresolvedfiles)continue:hgevolve--continue$hgresolve--listRa$hgevolve--continueevolving2:34a690fcf6ab"banana"workingdirectoryisnowat581a2bb4704c$hgresolve--listevolvetherestofthestack$hgevolvemove:[3]coconutatop:[5]bananamergingaAllcommitevolved$hgglogo6:coconut|o5:banana|@4:apricot|o0:empty