Mercurial > evolve
view tests/test-share.t @ 6197:f1d4c9eddcc1
tests: use desc() revset instead of node hashes in test-evolve-continue.t
Using desc() makes the tests less fragile if new steps are inserted, since the
test output can be more easily regenerated rather than having to go and find
all of the commit hashes in the input to replace them.
author | Luke Granger-Brown <hg@lukegb.com> |
---|---|
date | Mon, 14 Mar 2022 17:05:41 +0000 |
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