tests/test-share.t
changeset 46124 5b9bb4e9a3bf
parent 45921 95c4cca641f6
child 46314 95a615dd77bf
--- a/tests/test-share.t	Mon Dec 14 18:19:58 2020 +0100
+++ b/tests/test-share.t	Mon Dec 14 19:48:35 2020 +0100
@@ -56,6 +56,17 @@
   rbc-revs-v1
   tags2-visible
 
+Cloning a shared repo should pick up the full cache dir on the other hand.
+
+  $ hg clone . ../repo2-clone
+  updating to branch default
+  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  $ ls -1 ../repo2-clone/.hg/cache
+  branch2-served
+  rbc-names-v1
+  rbc-revs-v1
+  tags2-visible
+
 Some sed versions appends newline, some don't, and some just fails
 
   $ cat .hg/sharedpath; echo