diff tests/test-subrepo-recursion.t @ 40586:3b0f07cc9626

test-subrepo: document why share magically works even if subrepos are missing I was confused how it's working while reviewing fb490d798be0, "share: reload repo after adjusting it in postshare()."
author Yuya Nishihara <yuya@tcha.org>
date Sat, 10 Nov 2018 12:01:21 +0900
parents fb490d798be0
children 1a6bb5a85e30
line wrap: on
line diff
--- a/tests/test-subrepo-recursion.t	Sun Nov 11 14:13:08 2018 -0500
+++ b/tests/test-subrepo-recursion.t	Sat Nov 10 12:01:21 2018 +0900
@@ -559,8 +559,9 @@
   commit: (clean)
   update: 4 new changesets (update)
 
-Sharing a local repo without the locally referenced subrepo (i.e. it was never
-updated from null) works, but clone fails.
+Sharing a local repo with missing local subrepos (i.e. it was never updated
+from null) works because the default path is copied from the source repo,
+whereas clone should fail.
 
   $ hg --config progress.disable=True clone -U ../empty ../empty2