Mercurial > evolve
view tests/test-share.t @ 6629:c3b3a0620f3b
evolve: add missing _tiprev and _tipnode attributes to stablerangesqlbase
They are used in this class' methods, but only are set in children classes. It
rightfully made pytype complain, so let's add them here, even if it's not the
most correct solution (that would be to rethink the inheritance layers between
all this bunch of classes).
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 01 Jan 2024 17:58:08 -0300 |
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