tests/test-share.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Sun, 08 Sep 2019 11:56:11 +0200
changeset 4833 72cebe6642d7
parent 4488 6c0992ce05f7
permissions -rw-r--r--
stablesort: add some documentation for stablesort This should help people to understand what is going on here.

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