Closed by commit rHG8f807a83d53b: sidedata: use only changegroup3 if sidedata is in use (authored by marmoute). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review".
REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6940?vs=16944&id=16994 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6940/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6940 AFFECTED FILES mercurial/changegroup.py CHANGE DETAILS diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py --- a/mercurial/changegroup.py +++ b/mercurial/changegroup.py @@ -1479,6 +1479,11 @@ # # (or even to push subset of history) needv03 = True + if b'exp-sidedata-flag' in repo.requirements: + needv03 = True + # don't attempt to use 01/02 until we do sidedata cleaning + versions.discard(b'01') + versions.discard(b'02') if not needv03: versions.discard(b'03') return versions To: marmoute, #hg-reviewers Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list [email protected] https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
