view tests/test-share.t @ 5709:d0f73113fcc0 stable

tests: remove trailing "!" from abort messages CORE-TEST-OUTPUT-UPDATE: 95c4cca641f6 CORE-TEST-OUTPUT-UPDATE: 50afeeeb7b79 CORE-TEST-OUTPUT-UPDATE: 122f0b59f5f0 CORE-TEST-OUTPUT-UPDATE: ca39c45014fa
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 02 Dec 2020 09:40:33 +0800
parents 6c0992ce05f7
children
line wrap: on
line source

Test that share-clones use the cache in the original repository.

  $ . $TESTDIR/testlib/common.sh

  $ hg init share-base
  $ cd share-base/
  $ cat >> .hg/hgrc <<EOF
  > [extensions]
  > evolve=
  > share=
  > EOF
  $ hg debugbuilddag .+3:branchpoint+4*branchpoint+2
  $ cd ..
  $ hg --config extensions.share= share -U share-base share-client
  $ cd share-client
  $ hg debugupdatecache
  $ test -d .hg/cache
  [1]
  $ test -d ../share-base/.hg/cache