Mercurial > evolve
changeset 6758:de34d08d9422 mercurial-6.0
test-compat: merge mercurial-6.1 into mercurial-6.0
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 11 Apr 2024 11:46:36 -0300 |
parents | 17404e6e4809 (diff) e96e580cee0b (current diff) |
children | bdf99d434b06 e51dfd0e1a88 |
files | .gitlab-ci.yml |
diffstat | 15 files changed, 45 insertions(+), 71 deletions(-) [+] |
line wrap: on
line diff
--- a/.gitlab-ci.yml Thu Apr 11 01:58:28 2024 -0300 +++ b/.gitlab-ci.yml Thu Apr 11 11:46:36 2024 -0300 @@ -27,14 +27,37 @@ - (cd tests; ls -1 test-check-*.t > /tmp/check-tests.txt) script: - *prepare_hg - - ("$PYTHON" --version) - - (cd tests; set -x; HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" /ci/repos/mercurial/tests/run-tests.py --color=always $RUNTEST_ARGS) + - ($PYTHON --version) + - (cd tests; set -x; HGMODULEPOLICY="$TEST_HGMODULEPOLICY" $PYTHON /ci/repos/mercurial/tests/run-tests.py --color=always $RUNTEST_ARGS) + +checks-py2: + <<: *runtests + variables: + PY: py2 + PYTHON: prlimit --nofile=1024:1024 python2 + RUNTEST_ARGS: "--test-list /tmp/check-tests.txt" checks-py3: <<: *runtests variables: RUNTEST_ARGS: "--test-list /tmp/check-tests.txt" +tests-py2-cext: + <<: *runtests + variables: + PY: py2 + PYTHON: prlimit --nofile=1024:1024 python2 + RUNTEST_ARGS: "--no-rust --blacklist /tmp/check-tests.txt" + TEST_HGMODULEPOLICY: "c" + +tests-py2-pure: + <<: *runtests + variables: + PY: py2 + PYTHON: prlimit --nofile=1024:1024 python2 + RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt" + TEST_HGMODULEPOLICY: "py" + tests-py3-cext: <<: *runtests variables: @@ -47,28 +70,6 @@ RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt" TEST_HGMODULEPOLICY: "py" -doc: - image: registry.heptapod.net/mercurial/ci-images/py3-evolve-doc - script: - - make doc - variables: - LANG: en_US.UTF-8 - PYTHONPATH: "/ci/repos/mercurial:$PYTHONPATH" - artifacts: - paths: - - html/* - -sdist: - stage: .post - image: registry.heptapod.net/mercurial/ci-images/py3-hgext3rd - script: - - python3 setup.py sdist - artifacts: - paths: - - dist/* - only: - - tags - .windows_runtests_template: &windows_runtests before_script: - C:/MinGW/msys/1.0/bin/sh.exe --login -c 'cd "$OLDPWD" && ls -1 tests/test-check-*.t > C:/Temp/check-tests.txt' @@ -95,30 +96,3 @@ RUNTEST_ARGS: "--blacklist C:/Temp/check-tests.txt" TEST_HGMODULEPOLICY: "c" when: manual - -deb: - image: registry.heptapod.net/mercurial/ci-images/py3-hgext3rd:v2.0 - script: - - apt-get update && apt-get -yq install devscripts equivs lintian --no-install-recommends - - mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control - - version=$($PYTHON setup.py --version) - - debversion="$version+hg$(date +%Y%m%d)+$(hg log -r . -T '{node|short}')" - - make deb-prepare - - mkdir -p debs - - mv ../mercurial-evolve_$version.orig debs/mercurial-evolve_$debversion.orig - - cd debs/mercurial-evolve_$debversion.orig - - debchange --newversion "$debversion-1" "automated build" - - debuild --unsigned-source --unsigned-changes --build=binary - - dpkg --contents ../mercurial-evolve_$debversion-1_all.deb - variables: - DEBEMAIL: evolve-testers@mercurial-scm.org - DEBFULLNAME: Evolve CI Package Builder - DEBIAN_FRONTEND: noninteractive - DEB_BUILD_OPTIONS: nocheck nodoc - artifacts: - paths: - - debs/*.build - - debs/*.buildinfo - - debs/*.changes - - debs/*.deb - when: manual
--- a/tests/test-amend.t Thu Apr 11 01:58:28 2024 -0300 +++ b/tests/test-amend.t Thu Apr 11 11:46:36 2024 -0300 @@ -218,7 +218,6 @@ $ echo edited_a > a $ hg ci -m "edited a" 1 new orphan changesets - created new head $ hg debugobsolete $(hg id -ir 0 --debug) $(hg id -ir 2 --debug) 1 new obsolescence markers 2 new content-divergent changesets
--- a/tests/test-discovery-obshashrange.t Thu Apr 11 01:58:28 2024 -0300 +++ b/tests/test-discovery-obshashrange.t Thu Apr 11 11:46:36 2024 -0300 @@ -307,10 +307,7 @@ * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending hello command (glob) * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending between command (glob) * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> remote: * (glob) - * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> remote: capabilities: _evoext_getbundle_obscommon _evoext_obshashrange_v1 batch branchmap bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%2C03%0Acheckheads%3Drelated%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Aobsmarkers%3DV0%2CV1%0Aphases%3Dheads%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Astream%3Dv2 changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (no-zstd default-cg3 !) - * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> remote: capabilities: _evoext_getbundle_obscommon _evoext_obshashrange_v1 batch branchmap bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%2C03%0Acheckheads%3Drelated%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Aobsmarkers%3DV0%2CV1%0Aphases%3Dheads%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Astream%3Dv2 changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlog-compression-zstd,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (zstd default-cg3 !) - * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> remote: capabilities: _evoext_getbundle_obscommon _evoext_obshashrange_v1 batch branchmap bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Acheckheads%3Drelated%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Aobsmarkers%3DV0%2CV1%0Aphases%3Dheads%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Astream%3Dv2 changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (no-zstd no-default-cg3 !) - * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> remote: capabilities: _evoext_getbundle_obscommon _evoext_obshashrange_v1 batch branchmap bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Acheckheads%3Drelated%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Aobsmarkers%3DV0%2CV1%0Aphases%3Dheads%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Astream%3Dv2 changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlog-compression-zstd,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) (zstd no-default-cg3 !) + * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> remote: capabilities: _evoext_getbundle_obscommon _evoext_obshashrange_v1 batch branchmap bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Acheckheads%3Drelated%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Aobsmarkers%3DV0%2CV1%0Aphases%3Dheads%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Astream%3Dv2 changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob) * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> remote: 1 (glob) * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending protocaps command (glob) * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> query 1; heads (glob)
--- a/tests/test-evolve-content-divergent-corner-cases.t Thu Apr 11 01:58:28 2024 -0300 +++ b/tests/test-evolve-content-divergent-corner-cases.t Thu Apr 11 11:46:36 2024 -0300 @@ -375,7 +375,7 @@ with: [6] updated e base: [4] added e rebasing "divergent" content-divergent changeset ff6f7cd76a7c on 5f6d8a4bf34a - file 'd' was deleted in local [local] but was modified in other [other]. + file 'd' was deleted in local but was modified in other. You can use (c)hanged version, leave (d)eleted, or leave (u)nresolved. What do you want to do? c 0 files updated, 1 files merged, 0 files removed, 0 files unresolved
--- a/tests/test-evolve-content-divergent-interrupted.t Thu Apr 11 01:58:28 2024 -0300 +++ b/tests/test-evolve-content-divergent-interrupted.t Thu Apr 11 11:46:36 2024 -0300 @@ -383,8 +383,8 @@ $ hg evolve -c evolving 8:a8673909e314 "added d" merging a + merging d warning: conflicts while merging a! (edit, then use 'hg resolve --mark') - merging d warning: conflicts while merging d! (edit, then use 'hg resolve --mark') 0 files updated, 0 files merged, 0 files removed, 2 files unresolved unresolved merge conflicts
--- a/tests/test-evolve-content-divergent-user-independent-resolution.t Thu Apr 11 01:58:28 2024 -0300 +++ b/tests/test-evolve-content-divergent-user-independent-resolution.t Thu Apr 11 11:46:36 2024 -0300 @@ -35,7 +35,7 @@ $ hg push -q $ cd ../local - $ hg push --force -q + $ hg push -q 2 new content-divergent changesets $ hg pull -q 2 new content-divergent changesets
--- a/tests/test-evolve-obshistory.t Thu Apr 11 01:58:28 2024 -0300 +++ b/tests/test-evolve-obshistory.t Thu Apr 11 11:46:36 2024 -0300 @@ -151,7 +151,7 @@ 2 new obsolescence markers obsoleted 1 changesets new changesets 7a230b46bf61 (1 drafts) - (run 'hg heads' to see heads) + (run 'hg heads' to see heads, 'hg merge' to merge) working directory parent is obsolete! (471f378eab4c) (use 'hg evolve' to update to its successor: 7a230b46bf61) Check that obslog works with markers pointing to missing local changectx
--- a/tests/test-evolve-progress.t Thu Apr 11 01:58:28 2024 -0300 +++ b/tests/test-evolve-progress.t Thu Apr 11 11:46:36 2024 -0300 @@ -101,8 +101,6 @@ committing changelog updating the branch cache obscache is out of date - invalid branch cache (served): tip differs - invalid branch cache (served.hidden): tip differs resolving manifests branchmerge: False, force: False, partial: False ancestor: df5d742141b0, local: df5d742141b0+, remote: 152c368c622b @@ -126,11 +124,15 @@ ancestor: 152c368c622b, local: f8d7d38c0a88+, remote: df5d742141b0 starting 4 threads for background file closing (?) preserving a for resolve of a - a: versions differ -> m + a: versions differ -> m (premerge) updating: a 1/1 files (100.00%) picked tool ':merge' for a (binary False symlink False changedelete False) merging a my a@f8d7d38c0a88+ other a@df5d742141b0 ancestor a@152c368c622b + a: versions differ -> m (merge) + updating: a 2/2 files (100.00%) + picked tool ':merge' for a (binary False symlink False changedelete False) + my a@f8d7d38c0a88+ other a@df5d742141b0 ancestor a@152c368c622b warning: conflicts while merging a! (edit, then use 'hg resolve --mark') unresolved merge conflicts (see 'hg help evolve.interrupted') @@ -177,7 +179,6 @@ updating the branch cache obscache is out of date invalid branch cache (served): tip differs - invalid branch cache (served.hidden): tip differs resolving manifests branchmerge: False, force: False, partial: False ancestor: 1edc3bac9e3c, local: 1edc3bac9e3c+, remote: f8d7d38c0a88
--- a/tests/test-evolve-public-content-divergent-corner-cases.t Thu Apr 11 01:58:28 2024 -0300 +++ b/tests/test-evolve-public-content-divergent-corner-cases.t Thu Apr 11 11:46:36 2024 -0300 @@ -421,7 +421,7 @@ $ hg evolve --continue evolving 4:e568fd1029bb "added c e" - file 'd' was deleted in other [other] but was modified in local [local]. + file 'd' was deleted in other but was modified in local. You can use (c)hanged version, (d)elete, or leave (u)nresolved. What do you want to do? u 1 files updated, 0 files merged, 0 files removed, 1 files unresolved
--- a/tests/test-evolve-templates.t Thu Apr 11 01:58:28 2024 -0300 +++ b/tests/test-evolve-templates.t Thu Apr 11 11:46:36 2024 -0300 @@ -1080,7 +1080,7 @@ 2 new obsolescence markers obsoleted 1 changesets new changesets 7a230b46bf61 (1 drafts) - (run 'hg heads' to see heads) + (run 'hg heads' to see heads, 'hg merge' to merge) working directory parent is obsolete! (471f378eab4c) (use 'hg evolve' to update to its successor: 7a230b46bf61) $ hg log --hidden -G
--- a/tests/test-fold.t Thu Apr 11 01:58:28 2024 -0300 +++ b/tests/test-fold.t Thu Apr 11 11:46:36 2024 -0300 @@ -146,7 +146,7 @@ $ hg fold --from 6 # want to run hg fold 6 abort: hidden revision '6' was rewritten as: 198b5c405d01 (use --hidden to access hidden revisions) - [10] + [255] $ hg log -G @ 11 - 198b5c405d01 r5 [debugbuilddag] (draft) bm1
--- a/tests/test-obsolete.t Thu Apr 11 01:58:28 2024 -0300 +++ b/tests/test-obsolete.t Thu Apr 11 11:46:36 2024 -0300 @@ -134,7 +134,6 @@ (use 'hg evolve' to update to its successor: 725c380fe99b) $ mkcommit d # 5 (on 3) 1 new orphan changesets - created new head $ qlog -r 'obsolete()' 3 - 0d3f46688ccc
--- a/tests/test-sharing.t Thu Apr 11 01:58:28 2024 -0300 +++ b/tests/test-sharing.t Thu Apr 11 11:46:36 2024 -0300 @@ -104,6 +104,8 @@ obsoleted 1 changesets new changesets 522d503432a2 (1 drafts) 1 files updated, 0 files merged, 0 files removed, 0 files unresolved + updated to "522d503432a2: fix bug 37" + 1 other heads for branch "default" Figure SG03 $ hg -R ../dev-repo shortlog --hidden -G @@ -136,6 +138,8 @@ $ cd ../test-repo $ hg update 1 files updated, 0 files merged, 0 files removed, 0 files unresolved + updated to "7b49f864d655: fix bug 37" + 1 other heads for branch "default" $ hg shortlog --hidden -G @ 4:7b49 draft fix bug 37 |
--- a/tests/test-topic-push.t Thu Apr 11 01:58:28 2024 -0300 +++ b/tests/test-topic-push.t Thu Apr 11 11:46:36 2024 -0300 @@ -211,10 +211,10 @@ $ hg outgoing draft --topic nonexistent abort: topic 'nonexistent' does not exist - [10] + [255] $ hg push draft --topic nonexistent abort: topic 'nonexistent' does not exist - [10] + [255] $ hg up babar switching to topic babar
--- a/tests/test-topic.t Thu Apr 11 01:58:28 2024 -0300 +++ b/tests/test-topic.t Thu Apr 11 11:46:36 2024 -0300 @@ -671,7 +671,7 @@ $ hg pull ../pinky -r narf pulling from ../pinky abort: unknown revision 'narf' - [10] + [255] $ hg pull ../pinky -r default pulling from ../pinky searching for changes