spares: clarify some test about merging copies
authorPierre-Yves David <pierre-yves.david@octobus.net>
Sat, 11 Jun 2022 00:00:29 +0200
changeset 49362 76b4b36cd5d0
parent 49361 05da1f1612db
child 49363 bd3519dc6741
spares: clarify some test about merging copies This new output clarify the important part out this merging : we want to be able to record the copy source even it is outside of the sparse profile.
tests/test-sparse-merges.t
--- a/tests/test-sparse-merges.t	Fri Jun 10 23:29:04 2022 +0200
+++ b/tests/test-sparse-merges.t	Sat Jun 11 00:00:29 2022 +0200
@@ -182,6 +182,10 @@
   merging a and amove to amove
   0 files updated, 1 files merged, 0 files removed, 0 files unresolved
   (branch merge, don't forget to commit)
+  $ hg status --copies
+  M amove
+    a
+  R a
 
   $ hg up -C 4
   cleaned up 1 temporarily added file(s) from the sparse checkout