D10047: test-copies: add subcase titles for various "conflicting" information variant
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Mon Feb 22 14:34:40 UTC 2021
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
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)
To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
More information about the Mercurial-devel
mailing list