From patchwork Thu Mar 12 22:54:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D8277: tests: fix rebase test broken by earlier cleanup From: phabricator X-Patchwork-Id: 45757 Message-Id: To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Thu, 12 Mar 2020 22:54:02 +0000 martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY It turns out I broke one of the rebase tests in dd2833e4d660 (tests: use drawdag in test-rebase-collapse.t, 2018-03-18) and didn't notice until now. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D8277 AFFECTED FILES tests/test-rebase-collapse.t CHANGE DETAILS To: martinvonz, #hg-reviewers Cc: mercurial-devel diff --git a/tests/test-rebase-collapse.t b/tests/test-rebase-collapse.t --- a/tests/test-rebase-collapse.t +++ b/tests/test-rebase-collapse.t @@ -184,33 +184,33 @@ Rebase and collapse - E onto H: - $ hg rebase -s E --dest I --collapse # root (E) is not a merge - abort: unknown revision 'I'! - [255] + $ hg rebase -s E --dest H --collapse # root (E) is not a merge + rebasing 5:49cb92066bfd "E" (E) + rebasing 6:11abe3fb10b8 "F" (F) + rebasing 7:64e264db77f0 "G" (G tip) + saved backup bundle to $TESTTMP/multiple-external-parents/.hg/strip-backup/49cb92066bfd-ee8a8a79-rebase.hg $ hg tglog - o 7: 64e264db77f0 'G' - |\ - | o 6: 11abe3fb10b8 'F' - | | - | o 5: 49cb92066bfd 'E' + o 5: 8b2315790719 'Collapsed revision + |\ * E + | | * F + | | * G' + | o 4: 4e4f9194f9f1 'D' + | |\ + o | | 3: 575c4b5ec114 'H' + | | | + +---o 2: dc0947a82db8 'C' | | - o | 4: 4e4f9194f9f1 'D' - |\| - | | o 3: 575c4b5ec114 'H' - | | | - o---+ 2: dc0947a82db8 'C' - / / - o / 1: 112478962961 'B' + | o 1: 112478962961 'B' |/ o 0: 426bada5c675 'A' $ hg manifest --rev tip A - B C E F + H $ cd ..