Mercurial > evolve
view tests/test-share.t @ 5550:95d00d58885f
evolve: rely on resolutionparent when relocating divergent csets
As discussed with Pierre-Yves the current behavior of resolving
content-divergence when parent changes:
1) First we decide the resolution parent (the parent where resolution
cset will be based on)
2) Relocate both the divergent csets to the resolution parent (if a
cset is already on resolution parent, nothing to do for it)
3) Perform 3-way merge to create the resolution cset of content-div
This patch makes sure that we rely on that decided resolution parent,
when relocating divergent csets to the parent where the resolution cset
will be based on.
author | Sushil khanchi <sushilkhanchi97@gmail.com> |
---|---|
date | Wed, 05 Aug 2020 15:04:48 +0530 |
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