view tests/test-share.t @ 6887:45cbf0af48e7 stable

tests: update old changeset hashes in test-tutorial.t They actually should've been updated in 32ed5b6fadd3, but better late than never. Unfortunately, these messages are not tied directly to any command output, so the issue with using nonexistent hashes was not immediately obvious after running this test.
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 03 Oct 2024 09:34:56 +0400
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