pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-mercurial



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Jul 19 14:40:50 UTC 2023

Modified Files:
        pkgsrc/devel/py-mercurial: Makefile PLIST distinfo version.mk
Added Files:
        pkgsrc/devel/py-mercurial/patches:
            patch-tests_test-bundle-phase-internal.t

Log Message:
py-mercurial: update to 6.5.

New Features

    Improved Python 3.12 compatiblity
    configitems: enable changegroup3 by default (unless using infinitepush)
    extras: expose 'retained_extras' for extensions to extend
    stabletailgraph: implement stable-tail sort
    stabletailgraph: naive version of leap computation
    bundle: introduce a "v3" spec
    clone-bundles: add a basic first version of automatic bundle generation
    clone-bundles: garbage collect older bundle when generating new ones
    clone-bundles: only regenerate the clone bundle when cached ration is low
    clone-bundles: also control automation based on absolute number of revisions
    clone-bundles: add a configuration to control auto-generation on changes
    clone-bundles: introduce a command to refresh bundle
    clone-bundles: add a command to clear all bundles
    clone-bundles: add an option to generate bundles in the background
    clonebundles: add support for inline (streaming) clonebundles
    clonebundles: adds a auto-generate.serve-inline option
    match: add filepath: pattern to match an exact filepath relative to the root
    hgweb: add "children" into the JSON template for a changeset
    hgweb: add support to explicitly access hidden changesets
    pull: add --remote-hidden option and pass it through peer creation
    hidden: add support for --remote-hidden to HTTP peer
    hidden: support passing --hidden with serve --stdio
    hidden: add support to explicitly access hidden changesets with SSH peers
    perf: introduce a perf::stream-locked-section command
    perf: add a function to find a stream version generator
    perf: add support for stream-v3 during benchmark
    perf: add a perf::stream-generate command
    perf: add a perf::stream-consume
    cli: make debugnodemap capable of inspecting an arbitrary nodemap
    rust: configure MSRV in Clippy
    rhg: make rhg files work if ui.relative-files=true is specified
    rhg: support rhg files with ui.relative-paths=false
    rhg: support status --print0
    tree-manifest: allow debugupgraderepo to run on tree manifest repo
    library: enable runpy invocation on mercurial package
    library: incorporate demandimport into runpy invocation
    exchange: allow passing no includes/excludes to pull()

New Experimental Features

    stream-clone: add an experimental v3 version of the protocol
    stream-clone: support streamv3 on the cli [hg bundle]

Bug Fixes

    mail: add a missing argument to properly override starttls
    bundle: include required phases when saving a bundle (issue6794)
    outgoing: fix common-heads computation from missingroots argument
    strip: do not include internal changeset in the strip backup
    bundle: abort if the user request bundling of internal changesets
    bundle: prevent implicit bundling of internal changeset
    encoding: avoid quadratic time complexity when json-encoding non-UTF8 strings
    sha1dc: Make sure SHA1DC_BIGENDIAN is set on Darwin/PowerPC
    zstd: hack include order to ensure that our zstd.h is found
    dirstate: better error messages when dirstate is corrupted
    stream-clone: avoid opening a revlog in case we do not need it
    treemanifest: make updatecaches update the nodemaps for all directories
    rust-hg-core: move from ouroboros to self_cell
    rust-dependencies: switch from users to whoami
    dirstate-v2: actually fix the dirstate-v2 upgrade race
    dirstate: avoid leaking disk space in hg debugrebuilddirstate
    clonebundles: add warning if auto-generate is enabled without formats
    win32mbcs: unbyteify some strings for py3 support
    rust-revlog: fix incorrect results with NULL_NODE prefixes
    rust-revlog: fix RevlogEntry.data() for NULL_REVISION

Backwards Compatibility Changes

    infinitepush: aggressively deprecated infinite push
    narrow: indicated the default of 'Yes' when confirming auto-remove-includes

Internal API Changes

    Store walk was reworked to fix small race conditions in stream-clone and
        greatly improve its API robustness and flexibility.

Miscellaneous

    Typechecking support was improved in a lot of places
    Removed more useless compat code for now unsupported Python versions
    Sped up zstd usage in Rust contexts
    revlog: add an exception hint when processing LFS flags without the extension
    ui: keep the progress bar around when writing if stdout is not a tty
    transaction: use a ".bck" extension for all backup file


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 pkgsrc/devel/py-mercurial/Makefile
cvs rdiff -u -r1.43 -r1.44 pkgsrc/devel/py-mercurial/PLIST
cvs rdiff -u -r1.134 -r1.135 pkgsrc/devel/py-mercurial/distinfo
cvs rdiff -u -r1.50 -r1.51 pkgsrc/devel/py-mercurial/version.mk
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/py-mercurial/patches/patch-tests_test-bundle-phase-internal.t

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-mercurial/Makefile
diff -u pkgsrc/devel/py-mercurial/Makefile:1.85 pkgsrc/devel/py-mercurial/Makefile:1.86
--- pkgsrc/devel/py-mercurial/Makefile:1.85     Wed Jun 28 10:47:09 2023
+++ pkgsrc/devel/py-mercurial/Makefile  Wed Jul 19 14:40:50 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.85 2023/06/28 10:47:09 wiz Exp $
+# $NetBSD: Makefile,v 1.86 2023/07/19 14:40:50 wiz Exp $
 #
 # Changelog sometimes at: https://www.mercurial-scm.org/wiki/WhatsNew
 
@@ -29,20 +29,13 @@ PYTHON_SELF_CONFLICT=               yes
 .include "version.mk"
 
 USE_TOOLS+=            bash:test
-# Known test failures as of 6.4.5
-# test-remotefilelog-gc.t
-# https://bz.mercurial-scm.org/show_bug.cgi?id=6783
-# test-push-cgi.t, test-oldcgi.t, test-newcgi.t, test-newercgi.t, test-clone-cgi.t
-# https://bz.mercurial-scm.org/show_bug.cgi?id=6784
-# test-patchbomb-tls.t:
-# https://bz.mercurial-scm.org/show_bug.cgi?id=6727
-# test-demandimport.py
-# https://bz.mercurial-scm.org/show_bug.cgi?id=6786
+# Known test failures as of 6.5
+# test-bundle-phase-internal.t
+# https://bz.mercurial-scm.org/show_bug.cgi?id=6835
 # test-revlog-delta-find.t
 # https://bz.mercurial-scm.org/show_bug.cgi?id=6808
 # (fixed in pkgsrc)
-#
-# Ran 922 tests, 82 skipped, 8 failed.
+# Ran 931 tests, 83 skipped.
 
 TEST_TARGET=           tests
 TEST_MAKE_FLAGS+=      PYTHON=${PYTHONBIN} TESTFLAGS=${_MAKE_JOBS:Q}

Index: pkgsrc/devel/py-mercurial/PLIST
diff -u pkgsrc/devel/py-mercurial/PLIST:1.43 pkgsrc/devel/py-mercurial/PLIST:1.44
--- pkgsrc/devel/py-mercurial/PLIST:1.43        Wed Mar 29 11:29:27 2023
+++ pkgsrc/devel/py-mercurial/PLIST     Wed Jul 19 14:40:50 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.43 2023/03/29 11:29:27 wiz Exp $
+@comment $NetBSD: PLIST,v 1.44 2023/07/19 14:40:50 wiz Exp $
 bin/hg
 ${PYSITELIB}/hgdemandimport/__init__.py
 ${PYSITELIB}/hgdemandimport/__init__.pyc
@@ -467,6 +467,9 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.tx
 ${PYSITELIB}/mercurial/__init__.py
 ${PYSITELIB}/mercurial/__init__.pyc
 ${PYSITELIB}/mercurial/__init__.pyo
+${PYSITELIB}/mercurial/__main__.py
+${PYSITELIB}/mercurial/__main__.pyc
+${PYSITELIB}/mercurial/__main__.pyo
 ${PYSITELIB}/mercurial/__modulepolicy__.py
 ${PYSITELIB}/mercurial/__modulepolicy__.pyc
 ${PYSITELIB}/mercurial/__modulepolicy__.pyo
@@ -1005,6 +1008,12 @@ ${PYSITELIB}/mercurial/sshpeer.pyo
 ${PYSITELIB}/mercurial/sslutil.py
 ${PYSITELIB}/mercurial/sslutil.pyc
 ${PYSITELIB}/mercurial/sslutil.pyo
+${PYSITELIB}/mercurial/stabletailgraph/__init__.py
+${PYSITELIB}/mercurial/stabletailgraph/__init__.pyc
+${PYSITELIB}/mercurial/stabletailgraph/__init__.pyo
+${PYSITELIB}/mercurial/stabletailgraph/stabletailsort.py
+${PYSITELIB}/mercurial/stabletailgraph/stabletailsort.pyc
+${PYSITELIB}/mercurial/stabletailgraph/stabletailsort.pyo
 ${PYSITELIB}/mercurial/stack.py
 ${PYSITELIB}/mercurial/stack.pyc
 ${PYSITELIB}/mercurial/stack.pyo

Index: pkgsrc/devel/py-mercurial/distinfo
diff -u pkgsrc/devel/py-mercurial/distinfo:1.134 pkgsrc/devel/py-mercurial/distinfo:1.135
--- pkgsrc/devel/py-mercurial/distinfo:1.134    Wed Jun 28 10:47:09 2023
+++ pkgsrc/devel/py-mercurial/distinfo  Wed Jul 19 14:40:50 2023
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.134 2023/06/28 10:47:09 wiz Exp $
+$NetBSD: distinfo,v 1.135 2023/07/19 14:40:50 wiz Exp $
 
-BLAKE2s (mercurial-6.4.5.tar.gz) = a55e59a69f895e16036a346028d017959471afd6b78948edb5350d453a239bde
-SHA512 (mercurial-6.4.5.tar.gz) = 873de469e2c56bac5cfb71bb1a801557f11c9a386c399bac3fe7fc18bbad599e2fa9e85dce6ad64bc7e4a4d12e18f8e16d67ef3e86b6823fa183250e6252d7a3
-Size (mercurial-6.4.5.tar.gz) = 8183130 bytes
+BLAKE2s (mercurial-6.5.tar.gz) = b5a407cbbb599c2412c6af6cdde91346648ee81fc47b098ffb4238ddc47e6893
+SHA512 (mercurial-6.5.tar.gz) = 34f61b3f6a7d488afeffbaed7a35ab2da682f18171b07f78e405e89b7871dd7e7cbc1e92ef30b3bf82e35e2185d44c7e5379fecba4fafbe9ae8de194e92c12f3
+Size (mercurial-6.5.tar.gz) = 8231320 bytes
 SHA1 (patch-setup.py) = 5d5fb792b3f6c714ad11d6ff21d7b40f8182d1a6
+SHA1 (patch-tests_test-bundle-phase-internal.t) = 44939b7492a3112ba47007ec58ef0e5b4e10e920
 SHA1 (patch-tests_test-revlog-delta-find.t) = 4af19d6ece17d0aa12ce504fcdd1662812d993cb

Index: pkgsrc/devel/py-mercurial/version.mk
diff -u pkgsrc/devel/py-mercurial/version.mk:1.50 pkgsrc/devel/py-mercurial/version.mk:1.51
--- pkgsrc/devel/py-mercurial/version.mk:1.50   Wed Jun 28 10:47:09 2023
+++ pkgsrc/devel/py-mercurial/version.mk        Wed Jul 19 14:40:50 2023
@@ -1,3 +1,3 @@
-# $NetBSD: version.mk,v 1.50 2023/06/28 10:47:09 wiz Exp $
+# $NetBSD: version.mk,v 1.51 2023/07/19 14:40:50 wiz Exp $
 
-VERSION=       6.4.5
+VERSION=       6.5

Added files:

Index: pkgsrc/devel/py-mercurial/patches/patch-tests_test-bundle-phase-internal.t
diff -u /dev/null pkgsrc/devel/py-mercurial/patches/patch-tests_test-bundle-phase-internal.t:1.1
--- /dev/null   Wed Jul 19 14:40:50 2023
+++ pkgsrc/devel/py-mercurial/patches/patch-tests_test-bundle-phase-internal.t  Wed Jul 19 14:40:50 2023
@@ -0,0 +1,33 @@
+$NetBSD: patch-tests_test-bundle-phase-internal.t,v 1.1 2023/07/19 14:40:50 wiz Exp $
+
+https://bz.mercurial-scm.org/show_bug.cgi?id=6835
+
+--- tests/test-bundle-phase-internal.t.orig    2023-07-06 14:04:17.000000000 +0000
++++ tests/test-bundle-phase-internal.t
+@@ -99,7 +99,7 @@ backup bundle from strip
+ strip an ancestors of the internal changeset
+ --------------------------------------------
+ 
+-  $ cp -ar reference-repo strip-ancestor
++  $ cp -aR reference-repo strip-ancestor
+   $ cd strip-ancestor
+ 
+ The internal change is stripped, yet it should be skipped from the backup bundle.
+@@ -154,7 +154,7 @@ Shelve should still work
+ strip an unrelated changeset with a lower revnum
+ ------------------------------------------------
+ 
+-  $ cp -ar reference-repo strip-unrelated
++  $ cp -aR reference-repo strip-unrelated
+   $ cd strip-unrelated
+ 
+ The internal change is not directly stripped, but it is affected by the strip
+@@ -200,7 +200,7 @@ Shelve should still work
+ explicitly strip the internal changeset
+ ---------------------------------------
+ 
+-  $ cp -ar reference-repo strip-explicit
++  $ cp -aR reference-repo strip-explicit
+   $ cd strip-explicit
+ 
+ The internal change is directly selected for stripping.



Home | Main Index | Thread Index | Old Index