--- a/tests/test-copies-chain-merge.t Sun Dec 13 20:26:27 2020 +0100
+++ b/tests/test-copies-chain-merge.t Sun Dec 13 20:16:34 2020 +0100
@@ -872,6 +872,19 @@
Test copy information chaining
==============================
+Check that matching only affect the destination and not intermediate path
+-------------------------------------------------------------------------
+
+The two status call should give the same value for f
+
+ $ hg status --copies --rev 'desc("i-0")' --rev 'desc("a-2")'
+ A f
+ a
+ R a
+ $ hg status --copies --rev 'desc("i-0")' --rev 'desc("a-2")' f
+ A f
+ a (no-changeset no-compatibility !)
+
merging with unrelated change does not interfere with the renames
---------------------------------------------------------------