comparison tests/test-share.t @ 33539:460733327640

share: share 'cachevfs' with the source clone (issue5108) Share extension now also share caches reads and writes. Not sharing caches results in costly caches recomputations which can takes up to minutes when using shares on large repositories. There are a couple of file in the '.hg/cache/' that depends of the current visibility. Visibility can be affected by the working copy location, something which is specific to each share. We ignores them for this series because they: * are the minority, * already have a good fallback to other precomputed caches, * are only affected when people use the experimental evolution feature.
author Boris Feld <boris.feld@octobus.net>
date Sat, 15 Jul 2017 23:49:22 +0200
parents fe0667cc521e
children 169c97d4e722
comparison
equal deleted inserted replaced
33538:54b36d3ff7f6 33539:460733327640
21 share shouldn't have a store dir 21 share shouldn't have a store dir
22 22
23 $ cd repo2 23 $ cd repo2
24 $ test -d .hg/store 24 $ test -d .hg/store
25 [1] 25 [1]
26
27 share shouldn't have a cache dir, original repo should
28
29 $ hg branches
30 default 0:d3873e73d99e
31 $ hg tags
32 tip 0:d3873e73d99e
33 $ test -d .hg/cache
34 [1]
35 $ ls -1 ../repo1/.hg/cache
36 branch2-served
37 rbc-names-v1
38 rbc-revs-v1
39 tags2-visible
26 40
27 Some sed versions appends newline, some don't, and some just fails 41 Some sed versions appends newline, some don't, and some just fails
28 42
29 $ cat .hg/sharedpath; echo 43 $ cat .hg/sharedpath; echo
30 $TESTTMP/repo1/.hg (glob) 44 $TESTTMP/repo1/.hg (glob)