view tests/test-share.t @ 4954:a76ed637acba

obslog: phase divergence fix for b135591bec1a I forgot to pull the latest version before publishing the topic :-(
author Martin von Zweigbergk <martinvonz@google.com>
date Sat, 16 Nov 2019 01:44:31 +0100
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