Wed Mar 29 11:29:27 2023 UTC ()
py-mercurial: update to 6.4.

New Features

    There is a new internal merge tool called internal:union-other-first.
        It works like internal:union but add other side on top of local.
    Pullbundles are enabled by default
    delta-find: add a way to control the number of bases tested at the same time
    changelog-v2: add a configuration to disable rank computation
    debug: add an option to display statistic about a bundling operation
    debug: add an option to display statistic about a unbundling operation
    delta-find: add a delta-reuse policy that blindly accepts incoming deltas
    debug: add debug-revlog-stats command
    dirstate: add narrow support to verify
    verify: also check dirstate
    commit: add --draft option to use draft phase
    amend: add a --draft option to set phase to draft
    debug: add a config to abort update early
    rhg: implement checkexec to support weird filesystems
    debugshell: allow commands to be specified as a CLI argument
    rhg-files: add support for narrow when specifying a revision
    rust-narrow: enable narrow support for plain rhg files

Bug Fixes

Aside from the following (unordered) commits which made it through a manual filter, there are a bunch of typing improvements and fixes, removal of deprecated code and general code cleanup.

    lfs: improve an exception message for blob corruption detected on transfer
    revlog: use the user facing filename as the display_id for filelogs
    rust-status: query fs traversal metadata lazily
    shelve: add Shelf.changed_files for resolving changed files in a plugin
    demandimport: ensure lazyloaderex sets loader attributes (issue6725)
    typing: fix a syntax error in mercurial/cext/bdiff.pyi
    cffi: fix a bytes vs str issue on macOS when listing directories
    changelog-v2: fix the docket struct
    schemes: fix a broken check for drive letter conflicts
    worker: avoid reading 1 byte at a time from the OS pipe
    rust-narrow: fix loop that never loops
    setup: Ensure target directory exists with building rust extension
    dirstate: invalidate changes when parent-change fails
    dirstate: warn about non-explicitly rolledback parent-change
    dirstate: write dirstate on successful exit of changing_parents context
    largefile: make sure we hold the lock when updating the second dirstate
    dirstate: enforce holding the lock while doing any changes
    run-tests: stop ignoring venv-installed packages
    transaction: run abort callback in all cases
    transaction: quietly rollback if no other changes than temporary files
    debugrebuilddirstate: double check that no transaction is open
    dirstate: do not write an empty dirstate just for backup
    locking: take the wlock for the full hg add duration
    locking: take the wlock for the full hg remove duration
    locking: take the wlock for the full hg forget duration
    locking: take the wlock for the full hg addremove duration
    locking: grab the wlock before touching the dirstate in perfdirstatewrite
    locking: hold the wlock for the full duration of the "keyword demo"
    mq: properly take the wlock during the full qfold operation
    dirstate: invalidate the dirstate change on transaction failure
    status: fix post status writing
    status: fix post status invalidation
    dirstate: avoid transaction backup/restore if we do not hold the lock
    rollback: explicitly skip dirstate rollback when applicable
    dirstate-guard: remove the feature
    dirstate: make restorebackup more robust when it is a noop
    dirstate: generalize the dirstate's invalidation on transaction abort
    dirstate: detect potential fishy transaction patterns while changing
    mq: write the dirstate before stripping
    dirstate: explicitly backup the datafile
    localrepo: enforce a clean dirstate when the transaction open
    localrepo: "blindly" do a dirstate backup at the end of the transaction
    dirstate: remove the dedicated backup logic
    rhg: fix a bug in path_encode
    dirstate: invalidate on all exceptions
    large-files: make sure we write newly initialized standin file early
    dirstate: warn if dirty when starting an edition
    dirstate: track that changes are pending in a transaction
    dirstate: distinct transaction callback from largefile
    automv: lock the repository before searching for renames
    dirstate: only reload the dirstate when it may have changed
    dirstate: cleanup the _map property cache
    status: invalidate dirstate on LockError
    dirstate: check that dirstate is clean at the initial context opening
    dirstate: have running_status write the dirstate when holding the lock
    dirstate: have running_status warn when exiting with a dirty dirstate
    narrow: widden the lock context in tracking
    narrow: enforce that narrow spec is written within a transaction
    transaction: no longer explicitly cache phaseroots
    transaction: no longer explicitly cache bookmarks
    transaction: use the standard transaction mechanism to backup branch
    bundlerepo: handle changegroup induced phase movement in the associated method
    bundlerepo: apply phase data stored in the bundle instead of assuming draft
    config-item: declare undeclared path suboption
    narrow: read pending file when applicable
    rust: fix building on macOS (issue6801)
    run-tests: fix a crash when using the coverage options
    undo-files: also remove the undo.backupfiles
    undo-files: cleanup backup when cleaning undos
    undo-files: clean existing files up before writing new one
    undo-files: cleanup legacy files when applicable
    dirstate-v2: fix an incorrect handling of readdir errors
    rust: update zstd dependency
    rust: upgrade rayon dependency
    dirstate: fix the bug in [status] dealing with committed&ignored directories
    dirstate: fix a potential traceback when in copy and rename
    histedit: fix diff colors
    cext: fix for PyLong refactoring in CPython 3.12
    py3: fix for Python 3.12 emitting SyntaxWarning on invalid escape sequences
    statprof: with Python 3.12, lineno is (more) often None
    transaction: properly clean up backup file outside of .hg/store/
    transaction: raise on backup restoration error
    revlog: improve the robustness of the splitting process
    debugdeltachain: stop summing the same chain over and over
    url: don't ignore timeout for https connections
    py3: fix for Python 3.12 emitting SyntaxWarning on invalid escape sequences
    tests: accept a test output change in [tests/test-serve.t]
    rust: fix thread cap (for real this time)
    dirstate: try refreshing the changelog when parent are unknown
    hooks: invalidate the repo after the hooks

Backwards Compatibility Changes

    rust: upgrade supported Rust toolchain version
    rust: move all crates in the main workspace to edition 2021
    hg-core: upgrade zstd dependency
    hg-core: upgrade clap dependency
    hg-core: upgrade all remaining dependencies
    hg-cpython: upgrade dependencies
    rhg: upgrade clap dependency
    rhg: upgrade the remainder of the dependencies

Internal API Changes

    Many APIs around the dirstate have been made much stricter with regards to
        locking and transaction handling
    Some dirstate APIs have been renamed/removed
    In both cases, you should get loud complaints in your tests if you do
        something wrong.

Miscellaneous

    pullbundle support no longer requires setting a server-side option,
        providing a .hg/pullbundles.manifest according to the syntax specified in 'hg help -e clonebundles' is enough.
    debug-delta-find: add a --source option
    delta-find: add debug information about reuse of cached data
    delta-find: set the default candidate chunk size to 10
    attr: vendor 22.1.0
    configitems: add a default value for "merge-tools.xxx.regappend"
    debugrevlog: display total stored information
    emitrevision: if we need to compute a delta on the fly, try p1 or p2 first
    emitrevision: consider ancestors revision to emit as available base
    find-delta: pass the cache-delta usage policy alongside the cache-delta
    delta-find: use a smarter object for snapshot caching
    delta-find: use sets instead of list in the snapshot cache
    delta-find: make sure we only use newer full snapshot as candidate
    delta-find: use a single snapshot cache when applying a group to an object
    bundleoperation: optionnaly record the remote that produced the bundle
    bundle: when forcing acceptance of incoming delta also accept snapshot
    bundle: emit full snapshot as is, without doing a redelta
    pathutil: slightly faster path audit in the common case
    merge: don't pay for pathconflicts if there are none
    merge: short-circuit the _checkfs loop upon getting ENOENT
    merge: disable the whole filesystem access loop if [_realfs] is false
    merge: cache the fs checks made during [_checkunknownfiles]
    rust: use logging_timer instead of micro_timer
    rust: run cargo clippy
    makefile: add cargo clippy to tests if cargo is available
    heptapod-ci: add clippy to the CI
    convert: use a priority queue for sorting commits, to make sorting faster
    delta-find: adjust the default candidate group chunk size
    delta-find: declare the "paths..*:pulled-delta-reuse-policy option


(wiz)
diff -r1.78 -r1.79 pkgsrc/devel/py-mercurial/Makefile
diff -r1.42 -r1.43 pkgsrc/devel/py-mercurial/PLIST
diff -r1.126 -r1.127 pkgsrc/devel/py-mercurial/distinfo
diff -r1.44 -r1.45 pkgsrc/devel/py-mercurial/version.mk
diff -r0 -r1.1 pkgsrc/devel/py-mercurial/patches/patch-tests_test-revlog-delta-find.t

cvs diff -r1.78 -r1.79 pkgsrc/devel/py-mercurial/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-mercurial/Makefile 2023/03/07 11:31:49 1.78
+++ pkgsrc/devel/py-mercurial/Makefile 2023/03/29 11:29:27 1.79
@@ -1,54 +1,61 @@ @@ -1,54 +1,61 @@
1# $NetBSD: Makefile,v 1.78 2023/03/07 11:31:49 wiz Exp $ 1# $NetBSD: Makefile,v 1.79 2023/03/29 11:29:27 wiz Exp $
2# 2#
3# Changelog sometimes at: https://www.mercurial-scm.org/wiki/WhatsNew 3# Changelog sometimes at: https://www.mercurial-scm.org/wiki/WhatsNew
4 4
5DISTNAME= mercurial-${VERSION} 5DISTNAME= mercurial-${VERSION}
6PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 6PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
7CATEGORIES= devel scm 7CATEGORIES= devel scm
8MASTER_SITES= https://www.mercurial-scm.org/release/ 8MASTER_SITES= https://www.mercurial-scm.org/release/
9 9
10MAINTAINER= wiz@NetBSD.org 10MAINTAINER= wiz@NetBSD.org
11HOMEPAGE= https://www.mercurial-scm.org/ 11HOMEPAGE= https://www.mercurial-scm.org/
12COMMENT= Fast, lightweight source control management system 12COMMENT= Fast, lightweight source control management system
13LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # OR newer 13LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # OR newer
14 14
15DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses 15DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses
16# via xmlrpc from python itself, used in mercurial/pycompat.py 16# via xmlrpc from python itself, used in mercurial/pycompat.py
17DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat 17DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
18 18
19TEST_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 19TEST_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
 20# https://bz.mercurial-scm.org/show_bug.cgi?id=6805
 21TEST_DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
20 22
21USE_TOOLS+= gmake msgfmt 23USE_TOOLS+= gmake msgfmt
22 24
23INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 25INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
24INSTALLATION_DIRS+= share/doc/mercurial 26INSTALLATION_DIRS+= share/doc/mercurial
25 27
26PYTHON_VERSIONS_INCOMPATIBLE= 27 28PYTHON_VERSIONS_INCOMPATIBLE= 27
27PYTHON_SELF_CONFLICT= yes 29PYTHON_SELF_CONFLICT= yes
28 30
29.include "version.mk" 31.include "version.mk"
30 32
31USE_TOOLS+= bash:test 33USE_TOOLS+= bash:test
32# Known test failures as of 6.3.3 34# Known test failures as of 6.4
 35# test-revlog-delta-find.t
 36# https://bz.mercurial-scm.org/show_bug.cgi?id=6808
 37# (fixed in pkgsrc)
 38# test-transaction-rollback-on-revlog-split.t
 39# https://bz.mercurial-scm.org/show_bug.cgi?id=6807
33# test-remotefilelog-gc.t 40# test-remotefilelog-gc.t
34# https://bz.mercurial-scm.org/show_bug.cgi?id=6783 41# https://bz.mercurial-scm.org/show_bug.cgi?id=6783
35# test-push-cgi.t, test-oldcgi.t, test-newcgi.t, test-newercgi.t, test-clone-cgi.t 42# test-push-cgi.t, test-oldcgi.t, test-newcgi.t, test-newercgi.t, test-clone-cgi.t
36# https://bz.mercurial-scm.org/show_bug.cgi?id=6784 43# https://bz.mercurial-scm.org/show_bug.cgi?id=6784
37# test-patchbomb-tls.t: 44# test-patchbomb-tls.t:
38# https://bz.mercurial-scm.org/show_bug.cgi?id=6727 45# https://bz.mercurial-scm.org/show_bug.cgi?id=6727
39# test-demandimport.py 46# test-demandimport.py
40# https://bz.mercurial-scm.org/show_bug.cgi?id=6786 47# https://bz.mercurial-scm.org/show_bug.cgi?id=6786
41# 48#
42# Ran 912 tests, 82 skipped, 8 failed. 49# Ran 919 tests, 82 skipped, 10 failed.
43 50
44TEST_TARGET= tests 51TEST_TARGET= tests
45TEST_MAKE_FLAGS+= PYTHON=${PYTHONBIN} TESTFLAGS=${_MAKE_JOBS:Q} 52TEST_MAKE_FLAGS+= PYTHON=${PYTHONBIN} TESTFLAGS=${_MAKE_JOBS:Q}
46 53
47post-install: 54post-install:
48 ${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 55 ${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
49 ${INSTALL_DATA} ${WRKSRC}/doc/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 56 ${INSTALL_DATA} ${WRKSRC}/doc/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
50 ${INSTALL_DATA} ${WRKSRC}/README.rst \ 57 ${INSTALL_DATA} ${WRKSRC}/README.rst \
51 ${DESTDIR}${PREFIX}/share/doc/mercurial 58 ${DESTDIR}${PREFIX}/share/doc/mercurial
52 59
53.include "../../lang/python/egg.mk" 60.include "../../lang/python/egg.mk"
54.include "../../mk/bsd.pkg.mk" 61.include "../../mk/bsd.pkg.mk"

cvs diff -r1.42 -r1.43 pkgsrc/devel/py-mercurial/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/py-mercurial/PLIST 2022/07/17 09:51:33 1.42
+++ pkgsrc/devel/py-mercurial/PLIST 2023/03/29 11:29:27 1.43
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.42 2022/07/17 09:51:33 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.43 2023/03/29 11:29:27 wiz Exp $
2bin/hg 2bin/hg
3${PYSITELIB}/hgdemandimport/__init__.py 3${PYSITELIB}/hgdemandimport/__init__.py
4${PYSITELIB}/hgdemandimport/__init__.pyc 4${PYSITELIB}/hgdemandimport/__init__.pyc
5${PYSITELIB}/hgdemandimport/__init__.pyo 5${PYSITELIB}/hgdemandimport/__init__.pyo
6${PYSITELIB}/hgdemandimport/demandimportpy3.py 6${PYSITELIB}/hgdemandimport/demandimportpy3.py
7${PYSITELIB}/hgdemandimport/demandimportpy3.pyc 7${PYSITELIB}/hgdemandimport/demandimportpy3.pyc
8${PYSITELIB}/hgdemandimport/demandimportpy3.pyo 8${PYSITELIB}/hgdemandimport/demandimportpy3.pyo
9${PYSITELIB}/hgdemandimport/tracing.py 9${PYSITELIB}/hgdemandimport/tracing.py
10${PYSITELIB}/hgdemandimport/tracing.pyc 10${PYSITELIB}/hgdemandimport/tracing.pyc
11${PYSITELIB}/hgdemandimport/tracing.pyo 11${PYSITELIB}/hgdemandimport/tracing.pyo
12${PYSITELIB}/hgext/__init__.py 12${PYSITELIB}/hgext/__init__.py
13${PYSITELIB}/hgext/__init__.pyc 13${PYSITELIB}/hgext/__init__.pyc
14${PYSITELIB}/hgext/__init__.pyo 14${PYSITELIB}/hgext/__init__.pyo
@@ -580,29 +580,26 @@ ${PYSITELIB}/mercurial/defaultrc/__init_ @@ -580,29 +580,26 @@ ${PYSITELIB}/mercurial/defaultrc/__init_
580${PYSITELIB}/mercurial/defaultrc/mergetools.rc 580${PYSITELIB}/mercurial/defaultrc/mergetools.rc
581${PYSITELIB}/mercurial/destutil.py 581${PYSITELIB}/mercurial/destutil.py
582${PYSITELIB}/mercurial/destutil.pyc 582${PYSITELIB}/mercurial/destutil.pyc
583${PYSITELIB}/mercurial/destutil.pyo 583${PYSITELIB}/mercurial/destutil.pyo
584${PYSITELIB}/mercurial/diffhelper.py 584${PYSITELIB}/mercurial/diffhelper.py
585${PYSITELIB}/mercurial/diffhelper.pyc 585${PYSITELIB}/mercurial/diffhelper.pyc
586${PYSITELIB}/mercurial/diffhelper.pyo 586${PYSITELIB}/mercurial/diffhelper.pyo
587${PYSITELIB}/mercurial/diffutil.py 587${PYSITELIB}/mercurial/diffutil.py
588${PYSITELIB}/mercurial/diffutil.pyc 588${PYSITELIB}/mercurial/diffutil.pyc
589${PYSITELIB}/mercurial/diffutil.pyo 589${PYSITELIB}/mercurial/diffutil.pyo
590${PYSITELIB}/mercurial/dirstate.py 590${PYSITELIB}/mercurial/dirstate.py
591${PYSITELIB}/mercurial/dirstate.pyc 591${PYSITELIB}/mercurial/dirstate.pyc
592${PYSITELIB}/mercurial/dirstate.pyo 592${PYSITELIB}/mercurial/dirstate.pyo
593${PYSITELIB}/mercurial/dirstateguard.py 
594${PYSITELIB}/mercurial/dirstateguard.pyc 
595${PYSITELIB}/mercurial/dirstateguard.pyo 
596${PYSITELIB}/mercurial/dirstatemap.py 593${PYSITELIB}/mercurial/dirstatemap.py
597${PYSITELIB}/mercurial/dirstatemap.pyc 594${PYSITELIB}/mercurial/dirstatemap.pyc
598${PYSITELIB}/mercurial/dirstatemap.pyo 595${PYSITELIB}/mercurial/dirstatemap.pyo
599${PYSITELIB}/mercurial/dirstateutils/__init__.py 596${PYSITELIB}/mercurial/dirstateutils/__init__.py
600${PYSITELIB}/mercurial/dirstateutils/__init__.pyc 597${PYSITELIB}/mercurial/dirstateutils/__init__.pyc
601${PYSITELIB}/mercurial/dirstateutils/__init__.pyo 598${PYSITELIB}/mercurial/dirstateutils/__init__.pyo
602${PYSITELIB}/mercurial/dirstateutils/docket.py 599${PYSITELIB}/mercurial/dirstateutils/docket.py
603${PYSITELIB}/mercurial/dirstateutils/docket.pyc 600${PYSITELIB}/mercurial/dirstateutils/docket.pyc
604${PYSITELIB}/mercurial/dirstateutils/docket.pyo 601${PYSITELIB}/mercurial/dirstateutils/docket.pyo
605${PYSITELIB}/mercurial/dirstateutils/timestamp.py 602${PYSITELIB}/mercurial/dirstateutils/timestamp.py
606${PYSITELIB}/mercurial/dirstateutils/timestamp.pyc 603${PYSITELIB}/mercurial/dirstateutils/timestamp.pyc
607${PYSITELIB}/mercurial/dirstateutils/timestamp.pyo 604${PYSITELIB}/mercurial/dirstateutils/timestamp.pyo
608${PYSITELIB}/mercurial/dirstateutils/v2.py 605${PYSITELIB}/mercurial/dirstateutils/v2.py
@@ -1255,50 +1252,71 @@ ${PYSITELIB}/mercurial/testing/__init__. @@ -1255,50 +1252,71 @@ ${PYSITELIB}/mercurial/testing/__init__.
1255${PYSITELIB}/mercurial/testing/__init__.pyc 1252${PYSITELIB}/mercurial/testing/__init__.pyc
1256${PYSITELIB}/mercurial/testing/__init__.pyo 1253${PYSITELIB}/mercurial/testing/__init__.pyo
1257${PYSITELIB}/mercurial/testing/revlog.py 1254${PYSITELIB}/mercurial/testing/revlog.py
1258${PYSITELIB}/mercurial/testing/revlog.pyc 1255${PYSITELIB}/mercurial/testing/revlog.pyc
1259${PYSITELIB}/mercurial/testing/revlog.pyo 1256${PYSITELIB}/mercurial/testing/revlog.pyo
1260${PYSITELIB}/mercurial/testing/storage.py 1257${PYSITELIB}/mercurial/testing/storage.py
1261${PYSITELIB}/mercurial/testing/storage.pyc 1258${PYSITELIB}/mercurial/testing/storage.pyc
1262${PYSITELIB}/mercurial/testing/storage.pyo 1259${PYSITELIB}/mercurial/testing/storage.pyo
1263${PYSITELIB}/mercurial/thirdparty/__init__.py 1260${PYSITELIB}/mercurial/thirdparty/__init__.py
1264${PYSITELIB}/mercurial/thirdparty/__init__.pyc 1261${PYSITELIB}/mercurial/thirdparty/__init__.pyc
1265${PYSITELIB}/mercurial/thirdparty/__init__.pyo 1262${PYSITELIB}/mercurial/thirdparty/__init__.pyo
1266${PYSITELIB}/mercurial/thirdparty/attr/__init__.py 1263${PYSITELIB}/mercurial/thirdparty/attr/__init__.py
1267${PYSITELIB}/mercurial/thirdparty/attr/__init__.pyc 1264${PYSITELIB}/mercurial/thirdparty/attr/__init__.pyc
 1265${PYSITELIB}/mercurial/thirdparty/attr/__init__.pyi
1268${PYSITELIB}/mercurial/thirdparty/attr/__init__.pyo 1266${PYSITELIB}/mercurial/thirdparty/attr/__init__.pyo
 1267${PYSITELIB}/mercurial/thirdparty/attr/_cmp.py
 1268${PYSITELIB}/mercurial/thirdparty/attr/_cmp.pyc
 1269${PYSITELIB}/mercurial/thirdparty/attr/_cmp.pyi
 1270${PYSITELIB}/mercurial/thirdparty/attr/_cmp.pyo
1269${PYSITELIB}/mercurial/thirdparty/attr/_compat.py 1271${PYSITELIB}/mercurial/thirdparty/attr/_compat.py
1270${PYSITELIB}/mercurial/thirdparty/attr/_compat.pyc 1272${PYSITELIB}/mercurial/thirdparty/attr/_compat.pyc
1271${PYSITELIB}/mercurial/thirdparty/attr/_compat.pyo 1273${PYSITELIB}/mercurial/thirdparty/attr/_compat.pyo
1272${PYSITELIB}/mercurial/thirdparty/attr/_config.py 1274${PYSITELIB}/mercurial/thirdparty/attr/_config.py
1273${PYSITELIB}/mercurial/thirdparty/attr/_config.pyc 1275${PYSITELIB}/mercurial/thirdparty/attr/_config.pyc
1274${PYSITELIB}/mercurial/thirdparty/attr/_config.pyo 1276${PYSITELIB}/mercurial/thirdparty/attr/_config.pyo
1275${PYSITELIB}/mercurial/thirdparty/attr/_funcs.py 1277${PYSITELIB}/mercurial/thirdparty/attr/_funcs.py
1276${PYSITELIB}/mercurial/thirdparty/attr/_funcs.pyc 1278${PYSITELIB}/mercurial/thirdparty/attr/_funcs.pyc
1277${PYSITELIB}/mercurial/thirdparty/attr/_funcs.pyo 1279${PYSITELIB}/mercurial/thirdparty/attr/_funcs.pyo
1278${PYSITELIB}/mercurial/thirdparty/attr/_make.py 1280${PYSITELIB}/mercurial/thirdparty/attr/_make.py
1279${PYSITELIB}/mercurial/thirdparty/attr/_make.pyc 1281${PYSITELIB}/mercurial/thirdparty/attr/_make.pyc
1280${PYSITELIB}/mercurial/thirdparty/attr/_make.pyo 1282${PYSITELIB}/mercurial/thirdparty/attr/_make.pyo
 1283${PYSITELIB}/mercurial/thirdparty/attr/_next_gen.py
 1284${PYSITELIB}/mercurial/thirdparty/attr/_next_gen.pyc
 1285${PYSITELIB}/mercurial/thirdparty/attr/_next_gen.pyo
 1286${PYSITELIB}/mercurial/thirdparty/attr/_version_info.py
 1287${PYSITELIB}/mercurial/thirdparty/attr/_version_info.pyc
 1288${PYSITELIB}/mercurial/thirdparty/attr/_version_info.pyi
 1289${PYSITELIB}/mercurial/thirdparty/attr/_version_info.pyo
1281${PYSITELIB}/mercurial/thirdparty/attr/converters.py 1290${PYSITELIB}/mercurial/thirdparty/attr/converters.py
1282${PYSITELIB}/mercurial/thirdparty/attr/converters.pyc 1291${PYSITELIB}/mercurial/thirdparty/attr/converters.pyc
 1292${PYSITELIB}/mercurial/thirdparty/attr/converters.pyi
1283${PYSITELIB}/mercurial/thirdparty/attr/converters.pyo 1293${PYSITELIB}/mercurial/thirdparty/attr/converters.pyo
1284${PYSITELIB}/mercurial/thirdparty/attr/exceptions.py 1294${PYSITELIB}/mercurial/thirdparty/attr/exceptions.py
1285${PYSITELIB}/mercurial/thirdparty/attr/exceptions.pyc 1295${PYSITELIB}/mercurial/thirdparty/attr/exceptions.pyc
 1296${PYSITELIB}/mercurial/thirdparty/attr/exceptions.pyi
1286${PYSITELIB}/mercurial/thirdparty/attr/exceptions.pyo 1297${PYSITELIB}/mercurial/thirdparty/attr/exceptions.pyo
1287${PYSITELIB}/mercurial/thirdparty/attr/filters.py 1298${PYSITELIB}/mercurial/thirdparty/attr/filters.py
1288${PYSITELIB}/mercurial/thirdparty/attr/filters.pyc 1299${PYSITELIB}/mercurial/thirdparty/attr/filters.pyc
 1300${PYSITELIB}/mercurial/thirdparty/attr/filters.pyi
1289${PYSITELIB}/mercurial/thirdparty/attr/filters.pyo 1301${PYSITELIB}/mercurial/thirdparty/attr/filters.pyo
 1302${PYSITELIB}/mercurial/thirdparty/attr/py.typed
 1303${PYSITELIB}/mercurial/thirdparty/attr/setters.py
 1304${PYSITELIB}/mercurial/thirdparty/attr/setters.pyc
 1305${PYSITELIB}/mercurial/thirdparty/attr/setters.pyi
 1306${PYSITELIB}/mercurial/thirdparty/attr/setters.pyo
1290${PYSITELIB}/mercurial/thirdparty/attr/validators.py 1307${PYSITELIB}/mercurial/thirdparty/attr/validators.py
1291${PYSITELIB}/mercurial/thirdparty/attr/validators.pyc 1308${PYSITELIB}/mercurial/thirdparty/attr/validators.pyc
 1309${PYSITELIB}/mercurial/thirdparty/attr/validators.pyi
1292${PYSITELIB}/mercurial/thirdparty/attr/validators.pyo 1310${PYSITELIB}/mercurial/thirdparty/attr/validators.pyo
1293${PYSITELIB}/mercurial/thirdparty/sha1dc.so 1311${PYSITELIB}/mercurial/thirdparty/sha1dc.so
1294${PYSITELIB}/mercurial/thirdparty/zope/__init__.py 1312${PYSITELIB}/mercurial/thirdparty/zope/__init__.py
1295${PYSITELIB}/mercurial/thirdparty/zope/__init__.pyc 1313${PYSITELIB}/mercurial/thirdparty/zope/__init__.pyc
1296${PYSITELIB}/mercurial/thirdparty/zope/__init__.pyo 1314${PYSITELIB}/mercurial/thirdparty/zope/__init__.pyo
1297${PYSITELIB}/mercurial/thirdparty/zope/interface/__init__.py 1315${PYSITELIB}/mercurial/thirdparty/zope/interface/__init__.py
1298${PYSITELIB}/mercurial/thirdparty/zope/interface/__init__.pyc 1316${PYSITELIB}/mercurial/thirdparty/zope/interface/__init__.pyc
1299${PYSITELIB}/mercurial/thirdparty/zope/interface/__init__.pyo 1317${PYSITELIB}/mercurial/thirdparty/zope/interface/__init__.pyo
1300${PYSITELIB}/mercurial/thirdparty/zope/interface/_compat.py 1318${PYSITELIB}/mercurial/thirdparty/zope/interface/_compat.py
1301${PYSITELIB}/mercurial/thirdparty/zope/interface/_compat.pyc 1319${PYSITELIB}/mercurial/thirdparty/zope/interface/_compat.pyc
1302${PYSITELIB}/mercurial/thirdparty/zope/interface/_compat.pyo 1320${PYSITELIB}/mercurial/thirdparty/zope/interface/_compat.pyo
1303${PYSITELIB}/mercurial/thirdparty/zope/interface/_flatten.py 1321${PYSITELIB}/mercurial/thirdparty/zope/interface/_flatten.py
1304${PYSITELIB}/mercurial/thirdparty/zope/interface/_flatten.pyc 1322${PYSITELIB}/mercurial/thirdparty/zope/interface/_flatten.pyc
@@ -1333,26 +1351,29 @@ ${PYSITELIB}/mercurial/thirdparty/zope/i @@ -1333,26 +1351,29 @@ ${PYSITELIB}/mercurial/thirdparty/zope/i
1333${PYSITELIB}/mercurial/thirdparty/zope/interface/ro.pyo 1351${PYSITELIB}/mercurial/thirdparty/zope/interface/ro.pyo
1334${PYSITELIB}/mercurial/thirdparty/zope/interface/verify.py 1352${PYSITELIB}/mercurial/thirdparty/zope/interface/verify.py
1335${PYSITELIB}/mercurial/thirdparty/zope/interface/verify.pyc 1353${PYSITELIB}/mercurial/thirdparty/zope/interface/verify.pyc
1336${PYSITELIB}/mercurial/thirdparty/zope/interface/verify.pyo 1354${PYSITELIB}/mercurial/thirdparty/zope/interface/verify.pyo
1337${PYSITELIB}/mercurial/transaction.py 1355${PYSITELIB}/mercurial/transaction.py
1338${PYSITELIB}/mercurial/transaction.pyc 1356${PYSITELIB}/mercurial/transaction.pyc
1339${PYSITELIB}/mercurial/transaction.pyo 1357${PYSITELIB}/mercurial/transaction.pyo
1340${PYSITELIB}/mercurial/treediscovery.py 1358${PYSITELIB}/mercurial/treediscovery.py
1341${PYSITELIB}/mercurial/treediscovery.pyc 1359${PYSITELIB}/mercurial/treediscovery.pyc
1342${PYSITELIB}/mercurial/treediscovery.pyo 1360${PYSITELIB}/mercurial/treediscovery.pyo
1343${PYSITELIB}/mercurial/txnutil.py 1361${PYSITELIB}/mercurial/txnutil.py
1344${PYSITELIB}/mercurial/txnutil.pyc 1362${PYSITELIB}/mercurial/txnutil.pyc
1345${PYSITELIB}/mercurial/txnutil.pyo 1363${PYSITELIB}/mercurial/txnutil.pyo
 1364${PYSITELIB}/mercurial/typelib.py
 1365${PYSITELIB}/mercurial/typelib.pyc
 1366${PYSITELIB}/mercurial/typelib.pyo
1346${PYSITELIB}/mercurial/ui.py 1367${PYSITELIB}/mercurial/ui.py
1347${PYSITELIB}/mercurial/ui.pyc 1368${PYSITELIB}/mercurial/ui.pyc
1348${PYSITELIB}/mercurial/ui.pyo 1369${PYSITELIB}/mercurial/ui.pyo
1349${PYSITELIB}/mercurial/unionrepo.py 1370${PYSITELIB}/mercurial/unionrepo.py
1350${PYSITELIB}/mercurial/unionrepo.pyc 1371${PYSITELIB}/mercurial/unionrepo.pyc
1351${PYSITELIB}/mercurial/unionrepo.pyo 1372${PYSITELIB}/mercurial/unionrepo.pyo
1352${PYSITELIB}/mercurial/upgrade.py 1373${PYSITELIB}/mercurial/upgrade.py
1353${PYSITELIB}/mercurial/upgrade.pyc 1374${PYSITELIB}/mercurial/upgrade.pyc
1354${PYSITELIB}/mercurial/upgrade.pyo 1375${PYSITELIB}/mercurial/upgrade.pyo
1355${PYSITELIB}/mercurial/upgrade_utils/__init__.py 1376${PYSITELIB}/mercurial/upgrade_utils/__init__.py
1356${PYSITELIB}/mercurial/upgrade_utils/__init__.pyc 1377${PYSITELIB}/mercurial/upgrade_utils/__init__.pyc
1357${PYSITELIB}/mercurial/upgrade_utils/__init__.pyo 1378${PYSITELIB}/mercurial/upgrade_utils/__init__.pyo
1358${PYSITELIB}/mercurial/upgrade_utils/actions.py 1379${PYSITELIB}/mercurial/upgrade_utils/actions.py

cvs diff -r1.126 -r1.127 pkgsrc/devel/py-mercurial/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-mercurial/distinfo 2023/03/07 11:31:49 1.126
+++ pkgsrc/devel/py-mercurial/distinfo 2023/03/29 11:29:27 1.127
@@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
1$NetBSD: distinfo,v 1.126 2023/03/07 11:31:49 wiz Exp $ 1$NetBSD: distinfo,v 1.127 2023/03/29 11:29:27 wiz Exp $
2 2
3BLAKE2s (mercurial-6.3.3.tar.gz) = f0741812e4144ad0b4303e061ca4f607c578571ba1ce84e65db3322548af65ed 3BLAKE2s (mercurial-6.4.tar.gz) = 5d243db3df70d23144ec1dcf97684299d4d6f7ed60105000a37849c395698fdd
4SHA512 (mercurial-6.3.3.tar.gz) = 2c09ec01857552e92dee2ff946444f6ccd86a7249561d2181f339aa66316e9ce0f19399895782d0b63c1b5fdb6d341f866d166616ae51a78bac7e1bb4128a0fd 4SHA512 (mercurial-6.4.tar.gz) = a7810eddd0fd2a331215a5f7e9c81df4d860cf695aec3c5e3984821827b5427b5a01b68c07b9711e86db2f9b0ef5b5d3d6251a7dc76f99375c457920ce36c96f
5Size (mercurial-6.3.3.tar.gz) = 8106179 bytes 5Size (mercurial-6.4.tar.gz) = 8169322 bytes
 6SHA1 (patch-tests_test-revlog-delta-find.t) = 4af19d6ece17d0aa12ce504fcdd1662812d993cb

cvs diff -r1.44 -r1.45 pkgsrc/devel/py-mercurial/version.mk (expand / switch to unified diff)

--- pkgsrc/devel/py-mercurial/version.mk 2023/03/07 11:31:49 1.44
+++ pkgsrc/devel/py-mercurial/version.mk 2023/03/29 11:29:27 1.45
@@ -1,3 +1,3 @@ @@ -1,3 +1,3 @@
1# $NetBSD: version.mk,v 1.44 2023/03/07 11:31:49 wiz Exp $ 1# $NetBSD: version.mk,v 1.45 2023/03/29 11:29:27 wiz Exp $
2 2
3VERSION= 6.3.3 3VERSION= 6.4

File Added: pkgsrc/devel/py-mercurial/patches/patch-tests_test-revlog-delta-find.t
$NetBSD: patch-tests_test-revlog-delta-find.t,v 1.1 2023/03/29 11:29:27 wiz Exp $

cp(1) doesn't like -ar
https://bz.mercurial-scm.org/show_bug.cgi?id=6808

--- tests/test-revlog-delta-find.t.orig	2023-03-23 23:11:29.000000000 +0000
+++ tests/test-revlog-delta-find.t
@@ -198,7 +198,7 @@ Check the path.*:pulled-delta-reuse-poli
 
 Get a repository with the bad parent picked and a clone ready to pull the merge
 
-  $ cp -ar bundle-reuse-enabled peer-bad-delta
+  $ cp -aR bundle-reuse-enabled peer-bad-delta
   $ hg clone peer-bad-delta local-pre-pull --rev `cat large.node` --rev `cat small.node` --quiet
   DBG-DELTAS: CHANGELOG: * (glob)
   DBG-DELTAS: CHANGELOG: * (glob)
@@ -222,7 +222,7 @@ Pull with no value (so the default)
 
 default is to reuse the (bad) delta
 
-  $ cp -ar local-pre-pull local-no-value
+  $ cp -aR local-pre-pull local-no-value
   $ hg -R local-no-value pull --quiet
   DBG-DELTAS: CHANGELOG: * (glob)
   DBG-DELTAS: MANIFESTLOG: * (glob)
@@ -233,7 +233,7 @@ Pull with explicitly the default
 
 default is to reuse the (bad) delta
 
-  $ cp -ar local-pre-pull local-default
+  $ cp -aR local-pre-pull local-default
   $ hg -R local-default pull --quiet --config 'paths.default:pulled-delta-reuse-policy=default'
   DBG-DELTAS: CHANGELOG: * (glob)
   DBG-DELTAS: MANIFESTLOG: * (glob)
@@ -244,7 +244,7 @@ Pull with no-reuse
 
 We don't reuse the base, so we get a better delta
 
-  $ cp -ar local-pre-pull local-no-reuse
+  $ cp -aR local-pre-pull local-no-reuse
   $ hg -R local-no-reuse pull --quiet --config 'paths.default:pulled-delta-reuse-policy=no-reuse'
   DBG-DELTAS: CHANGELOG: * (glob)
   DBG-DELTAS: MANIFESTLOG: * (glob)
@@ -255,7 +255,7 @@ Pull with try-base
 
 We requested to use the (bad) delta
 
-  $ cp -ar local-pre-pull local-try-base
+  $ cp -aR local-pre-pull local-try-base
   $ hg -R local-try-base pull --quiet --config 'paths.default:pulled-delta-reuse-policy=try-base'
   DBG-DELTAS: CHANGELOG: * (glob)
   DBG-DELTAS: MANIFESTLOG: * (glob)
@@ -266,8 +266,8 @@ Case where we force a "bad" delta to be 
 
 We build a very different file content to force a full snapshot
 
-  $ cp -ar peer-bad-delta peer-bad-delta-with-full
-  $ cp -ar local-pre-pull local-pre-pull-full
+  $ cp -aR peer-bad-delta peer-bad-delta-with-full
+  $ cp -aR local-pre-pull local-pre-pull-full
   $ echo '[paths]' >> local-pre-pull-full/.hg/hgrc
   $ echo 'default=../peer-bad-delta-with-full' >> local-pre-pull-full/.hg/hgrc
 
@@ -286,7 +286,7 @@ The bundling process creates a delta aga
 is an invalid chain for the client, so it is not considered and we do a full
 snapshot again.
 
-  $ cp -ar local-pre-pull-full local-try-base-full
+  $ cp -aR local-pre-pull-full local-try-base-full
   $ hg -R local-try-base-full pull --quiet \
   > --config 'paths.default:pulled-delta-reuse-policy=try-base'
   DBG-DELTAS: CHANGELOG: * (glob)
@@ -301,7 +301,7 @@ Check that "forced" behavior do not chal
 
 A full bundle should be accepted as full bundle without recomputation
 
-  $ cp -ar local-pre-pull-full local-forced-full
+  $ cp -aR local-pre-pull-full local-forced-full
   $ hg -R local-forced-full pull --quiet \
   > --config 'paths.default:pulled-delta-reuse-policy=forced'
   DBG-DELTAS: CHANGELOG: * (glob)
@@ -322,7 +322,7 @@ more subtle to test this behavior.
 
   $ hg bundle -R peer-bad-delta-with-full --all --config devel.bundle.delta=p1 all-p1.hg
   5 changesets found
-  $ cp -ar local-pre-pull-full local-forced-full-p1
+  $ cp -aR local-pre-pull-full local-forced-full-p1
   $ hg -R local-forced-full-p1 pull --quiet \
   > --config 'paths.*:pulled-delta-reuse-policy=forced' all-p1.hg
   DBG-DELTAS: CHANGELOG: * (glob)