changeset 49359:76b4b36cd5d0

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.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 11 Jun 2022 00:00:29 +0200
parents 05da1f1612db
children bd3519dc6741
files tests/test-sparse-merges.t
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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