tests/test-share.t
branchstable
changeset 4507 de9089514833
parent 4488 6c0992ce05f7
equal deleted inserted replaced
4486:099e0ca8285e 4507:de9089514833
       
     1 Test that share-clones use the cache in the original repository.
       
     2 
       
     3   $ . $TESTDIR/testlib/common.sh
       
     4 
       
     5   $ hg init share-base
       
     6   $ cd share-base/
       
     7   $ cat >> .hg/hgrc <<EOF
       
     8   > [extensions]
       
     9   > evolve=
       
    10   > share=
       
    11   > EOF
       
    12   $ hg debugbuilddag .+3:branchpoint+4*branchpoint+2
       
    13   $ cd ..
       
    14   $ hg --config extensions.share= share -U share-base share-client
       
    15   $ cd share-client
       
    16   $ hg debugupdatecache
       
    17   $ test -d .hg/cache
       
    18   [1]
       
    19   $ test -d ../share-base/.hg/cache
       
    20