Patchwork D8277: tests: fix rebase test broken by earlier cleanup

login
register
mail settings
Submitter phabricator
Date March 14, 2020, 9:32 a.m.
Message ID <3ad6d2ee4da9c9ad787349c3df753d98@localhost.localdomain>
Download mbox | patch
Permalink /patch/45791/
State Not Applicable
Headers show

Comments

phabricator - March 14, 2020, 9:32 a.m.
Closed by commit rHG254c5f71e2df: tests: fix rebase test broken by earlier cleanup (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8277?vs=20761&id=20797

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8277/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8277

AFFECTED FILES
  tests/test-rebase-collapse.t

CHANGE DETAILS




To: martinvonz, #hg-reviewers, marmoute, pulkit
Cc: mercurial-devel

Patch

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 ..