Mercurial > evolve
view tests/test-share.t @ 6296:a2855aff1268
topic: call a different wire protocol command to get tns-aware branchmap
To see if remote supports topic namespaces, we announce topics-namespaces
capability and then check it. If it's supported, then we can use a different
branchmap command that gives us branchmap keyed by fqbn. The support for old
"branch:topic" format for the keys is continued through the already existing
code.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 25 Jul 2022 12:30:12 +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