Patchwork D10047: test-copies: add subcase titles for various "conflicting" information variant

login
register
mail settings
Submitter phabricator
Date Feb. 22, 2021, 2:34 p.m.
Message ID <differential-rev-PHID-DREV-rj4byzc74jihacgauzgt-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48362/
State Superseded
Headers show

Comments

phabricator - Feb. 22, 2021, 2:34 p.m.
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This make the transitions between case clearer.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  tests/test-copies-chain-merge.t

CHANGE DETAILS




To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/tests/test-copies-chain-merge.t b/tests/test-copies-chain-merge.t
--- a/tests/test-copies-chain-merge.t
+++ b/tests/test-copies-chain-merge.t
@@ -312,6 +312,9 @@ 
 Comparing with a merge with colliding rename
 --------------------------------------------
 
+Subcase: new copy information on both side
+``````````````````````````````````````````
+
 - the "e-" branch renaming b to f (through 'g')
 - the "a-" branch renaming d to f (through e)
 
@@ -353,6 +356,8 @@ 
   o  0 i-0 initial commit: a b h
   
 
+Subcase: existing copy information overwritten on one branch
+````````````````````````````````````````````````````````````
 
 Merge:
 - one with change to an unrelated file (b)
@@ -407,6 +412,9 @@ 
   
 
 
+Subcase: reset of the copy history on one side
+``````````````````````````````````````````````
+
 Merge:
 - one with change to a file
 - one deleting and recreating the file
@@ -455,6 +463,8 @@ 
   o  0 i-0 initial commit: a b h
   
 
+Subcase: merging a change to a file with a "copy overwrite" to that file from another branch
+````````````````````````````````````````````````````````````````````````````````````````````
 
 Merge:
 - one with change to a file (d)
@@ -1190,6 +1200,9 @@ 
 Comparing with a merge with colliding rename
 --------------------------------------------
 
+Subcase: new copy information on both side
+``````````````````````````````````````````
+
 - the "e-" branch renaming b to f (through 'g')
 - the "a-" branch renaming d to f (through e)
 
@@ -1304,6 +1317,9 @@ 
   R b
 
 
+Subcase: existing copy information overwritten on one branch
+````````````````````````````````````````````````````````````
+
 Note:
 | In this case, one of the merge wrongly record a merge while there is none.
 | This lead to bad copy tracing information to be dug up.
@@ -1397,6 +1413,8 @@ 
   ~
 #endif
 
+Subcase: reset of the copy history on one side
+``````````````````````````````````````````````
 
 Merge:
 - one with change to a file
@@ -1502,6 +1520,8 @@ 
   ~
 #endif
 
+Subcase: merging a change to a file with a "copy overwrite" to that file from another branch
+````````````````````````````````````````````````````````````````````````````````````````````
 
 Merge:
 - one with change to a file (d)