D10042: test-copies: improve description of the G+F case

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Mon Feb 22 14:34:17 UTC 2021


marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This will make its role clearer.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

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
@@ -469,7 +469,7 @@
 |
 | The current code arbitrarily pick one side
 
-  $ case_desc="simple merge"
+  $ case_desc="merge - G side: content change, F side: copy overwrite, no content change"
 
   $ hg up 'desc("f-2")'
   1 files updated, 0 files merged, 1 files removed, 0 files unresolved
@@ -491,9 +491,9 @@
   $ hg ci -m "mGFm-0 $case_desc - the other way"
   created new head
   $ hg log -G --rev '::(desc("mGFm")+desc("mFGm"))'
-  @    29 mGFm-0 simple merge - the other way
+  @    29 mGFm-0 merge - G side: content change, F side: copy overwrite, no content change - the other way
   |\
-  +---o  28 mFGm-0 simple merge - one way
+  +---o  28 mFGm-0 merge - G side: content change, F side: copy overwrite, no content change - one way
   | |/
   | o  25 g-1: update d
   | |
@@ -699,10 +699,10 @@
   mDGm-0 actual content merge, copies on one side - D side: delete and re-add (different content), G side: update content - one way
   mEAm-0 merge with copies info on both side - A side: rename d to f, E side: b to f, (same content for f) - the other way
   mFBm-0 simple merge - the other way
-  mFGm-0 simple merge - one way
+  mFGm-0 merge - G side: content change, F side: copy overwrite, no content change - one way
   mGCm-0
   mGDm-0 actual content merge, copies on one side - D side: delete and re-add (different content), G side: update content - the other way
-  mGFm-0 simple merge - the other way
+  mGFm-0 merge - G side: content change, F side: copy overwrite, no content change - the other way
   mHC-delete-before-conflict-m-0
 
 
@@ -1441,7 +1441,7 @@
 
 #if no-changeset
   $ hg log -Gfr 'desc("mDGm-0")' d
-  o    26 mDGm-0 simple merge - one way
+  o    26 mDGm-0 actual content merge, copies on one side - D side: delete and re-add (different content), G side: update content - one way
   |\
   | o  25 g-1: update d
   | |
@@ -1470,7 +1470,7 @@
 
 #if no-changeset
   $ hg log -Gfr 'desc("mDGm-0")' d
-  o    26 mDGm-0 simple merge - one way
+  o    26 mDGm-0 actual content merge, copies on one side - D side: delete and re-add (different content), G side: update content - one way
   |\
   | o  25 g-1: update d
   | |
@@ -1506,9 +1506,9 @@
 
 
   $ hg log -G --rev '::(desc("mGFm")+desc("mFGm"))'
-  o    29 mGFm-0 simple merge - the other way
+  o    29 mGFm-0 merge - G side: content change, F side: copy overwrite, no content change - the other way
   |\
-  +---o  28 mFGm-0 simple merge - one way
+  +---o  28 mFGm-0 merge - G side: content change, F side: copy overwrite, no content change - one way
   | |/
   | o  25 g-1: update d
   | |
@@ -1584,7 +1584,7 @@
 
 #if no-changeset
   $ hg log -Gfr 'desc("mFGm-0")' d
-  o    28 mFGm-0 simple merge - one way
+  o    28 mFGm-0 merge - G side: content change, F side: copy overwrite, no content change - one way
   |\
   | o  25 g-1: update d
   | |
@@ -1610,7 +1610,7 @@
 
 #if no-changeset
   $ hg log -Gfr 'desc("mGFm-0")' d
-  o    29 mGFm-0 simple merge - the other way
+  o    29 mGFm-0 merge - G side: content change, F side: copy overwrite, no content change - the other way
   |\
   | o  25 g-1: update d
   | |



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


More information about the Mercurial-devel mailing list