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:   joerg
Date:           Mon Aug  3 21:34:20 UTC 2020

Modified Files:
        pkgsrc/devel/py-mercurial: Makefile PLIST distinfo version.mk
Removed Files:
        pkgsrc/devel/py-mercurial/patches: patch-D8490 patch-D8575

Log Message:
Update Mercurial to 5.5:

== New Features ==

 * clonebundles can be annotated with the expected memory requirements
   using the `REQUIREDRAM` option. This allows clients to skip
   bundles created with large zstd windows and fallback to larger, but
   less demanding bundles.

 * The `phabricator` extension now provides more functionality of the
   arcanist CLI like changing the status of a differential.

 * Phases processing is much faster, especially for repositories with
   old non-public changesets.

== New Experimental Features ==

 * The core of some hg operations have been (and are being)
   implemented in rust, for speed. `hg status` on a repository with
   300k tracked files goes from 1.8s to 0.6s for instance.
   This has currently been tested only on linux, and does not build on
   windows. See rust/README.rst in the mercurial repository for
   instructions to opt into this.

 * An experimental config `rewrite.empty-successor` was introduced to control
   what happens when rewrite operations result in empty changesets.

== Bug Fixes ==

 * For the case when connected to a TTY, stdout was fixed to be line-buffered
   on Python 3 (where it was block-buffered before, causing the process to seem
   hanging) and Windows on Python 2 (where it was unbuffered before).

 * Subversion sources of the convert extension were fixed to work on Python 3.

 * Subversion sources of the convert extension now interpret the encoding of
   URLs like Subversion. Previously, there were situations where the convert
   extension recognized a repository as present but Subversion did not, and
   vice versa.

 * The empty changeset check of in-memory rebases was fixed to match that of
   normal rebases (and that of the commit command).

 * The push command now checks the correct set of outgoing changesets for
   obsolete and unstable changesets. Previously, it could happen that the check
   prevented pushing changesets which were already on the server.

== Backwards Compatibility Changes ==

 * Mercurial now requires at least Python 2.7.9 or a Python version that
   backported modern SSL/TLS features (as defined in PEP 466), and that Python
   was compiled against a OpenSSL version supporting TLS 1.1 or TLS 1.2
   (likely this requires the OpenSSL version to be at least 1.0.1).

 * The `hg perfwrite` command from contrib/perf.py was made more flexible and
   changed its default behavior. To get the previous behavior, run `hg perfwrite
   --nlines=100000 --nitems=1 --item='Testing write performance' --batch-line`.

 * The absorb extension now preserves changesets with no file changes that can
   be created by the commit command (those which change the branch name
   compared to the parent and those closing a branch head).


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/devel/py-mercurial/Makefile
cvs rdiff -u -r1.28 -r1.29 pkgsrc/devel/py-mercurial/PLIST
cvs rdiff -u -r1.89 -r1.90 pkgsrc/devel/py-mercurial/distinfo
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/py-mercurial/version.mk
cvs rdiff -u -r1.1 -r0 pkgsrc/devel/py-mercurial/patches/patch-D8490 \
    pkgsrc/devel/py-mercurial/patches/patch-D8575

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.43 pkgsrc/devel/py-mercurial/Makefile:1.44
--- pkgsrc/devel/py-mercurial/Makefile:1.43     Wed Jun 10 14:14:19 2020
+++ pkgsrc/devel/py-mercurial/Makefile  Mon Aug  3 21:34:20 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2020/06/10 14:14:19 wiz Exp $
+# $NetBSD: Makefile,v 1.44 2020/08/03 21:34:20 joerg Exp $
 
 DISTNAME=      mercurial-${VERSION}
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -26,13 +26,13 @@ INSTALLATION_DIRS+= share/doc/mercurial
 
 .include "version.mk"
 
-# Known test failures as of 5.4.1:
+# Known test failures as of 5.5
 # test-doctest:
 # https://bz.mercurial-scm.org/show_bug.cgi?id=6320
-# test-obsolete-distributed: broken because of patches/patch-D8480
-# Ran 842 tests, 78 skipped, 2 failed.
-do-test:
-       cd ${WRKSRC} && make tests PYTHON=${PYTHONBIN} TESTFLAGS=${_MAKE_JOBS:Q}
+# Ran 859 tests, 70 skipped, 2 failed.
+TEST_TARGET=           tests
+TEST_MAKE_FLAGS+=      PYTHON=${PYTHONBIN} CARGO=/dev/null \
+                       TESTFLAGS=${_MAKE_JOBS:Q}
 
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/doc/*.1  ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1

Index: pkgsrc/devel/py-mercurial/PLIST
diff -u pkgsrc/devel/py-mercurial/PLIST:1.28 pkgsrc/devel/py-mercurial/PLIST:1.29
--- pkgsrc/devel/py-mercurial/PLIST:1.28        Tue May  5 12:12:47 2020
+++ pkgsrc/devel/py-mercurial/PLIST     Mon Aug  3 21:34:20 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.28 2020/05/05 12:12:47 wiz Exp $
+@comment $NetBSD: PLIST,v 1.29 2020/08/03 21:34:20 joerg Exp $
 bin/hg
 ${PYSITELIB}/hgdemandimport/__init__.py
 ${PYSITELIB}/hgdemandimport/__init__.pyc
@@ -663,6 +663,7 @@ ${PYSITELIB}/mercurial/helptext/hgweb.tx
 ${PYSITELIB}/mercurial/helptext/internals/__init__.py
 ${PYSITELIB}/mercurial/helptext/internals/__init__.pyc
 ${PYSITELIB}/mercurial/helptext/internals/__init__.pyo
+${PYSITELIB}/mercurial/helptext/internals/bid-merge.txt
 ${PYSITELIB}/mercurial/helptext/internals/bundle2.txt
 ${PYSITELIB}/mercurial/helptext/internals/bundles.txt
 ${PYSITELIB}/mercurial/helptext/internals/cbor.txt
@@ -797,9 +798,15 @@ ${PYSITELIB}/mercurial/mdiff.pyo
 ${PYSITELIB}/mercurial/merge.py
 ${PYSITELIB}/mercurial/merge.pyc
 ${PYSITELIB}/mercurial/merge.pyo
+${PYSITELIB}/mercurial/mergestate.py
+${PYSITELIB}/mercurial/mergestate.pyc
+${PYSITELIB}/mercurial/mergestate.pyo
 ${PYSITELIB}/mercurial/mergeutil.py
 ${PYSITELIB}/mercurial/mergeutil.pyc
 ${PYSITELIB}/mercurial/mergeutil.pyo
+${PYSITELIB}/mercurial/metadata.py
+${PYSITELIB}/mercurial/metadata.pyc
+${PYSITELIB}/mercurial/metadata.pyo
 ${PYSITELIB}/mercurial/minifileset.py
 ${PYSITELIB}/mercurial/minifileset.pyc
 ${PYSITELIB}/mercurial/minifileset.pyo

Index: pkgsrc/devel/py-mercurial/distinfo
diff -u pkgsrc/devel/py-mercurial/distinfo:1.89 pkgsrc/devel/py-mercurial/distinfo:1.90
--- pkgsrc/devel/py-mercurial/distinfo:1.89     Tue Jun  9 07:07:13 2020
+++ pkgsrc/devel/py-mercurial/distinfo  Mon Aug  3 21:34:20 2020
@@ -1,10 +1,8 @@
-$NetBSD: distinfo,v 1.89 2020/06/09 07:07:13 wiz Exp $
+$NetBSD: distinfo,v 1.90 2020/08/03 21:34:20 joerg Exp $
 
-SHA1 (mercurial-5.4.1.tar.gz) = fb77969c3d9fe1a4df2af282bbec74201c9cbdac
-RMD160 (mercurial-5.4.1.tar.gz) = 040a68d43f4afb4991ddb4aeef951de7891a6d37
-SHA512 (mercurial-5.4.1.tar.gz) = 6173853c38f0aba59d2e29bec7da1c384c27a6004d5d00d1aee70571155122e07514fe6e56cecfdae48ec5f670823a2e6a5c9c8a36dd7041def2b8956fd35703
-Size (mercurial-5.4.1.tar.gz) = 7725893 bytes
-SHA1 (patch-D8480) = dca33fd25007a160cff02054ca659cce2a01511c
-SHA1 (patch-D8490) = 96a4eefb403919d17f188573b7d1dc34cef28388
+SHA1 (mercurial-5.5.tar.gz) = ff9b44836fb7342f6f3fbf401118cde8b61e8abf
+RMD160 (mercurial-5.5.tar.gz) = 40beaddc36912a6d57a2238346082b02f4f75f8f
+SHA512 (mercurial-5.5.tar.gz) = ed8f283a61aa13fd3638ae5b0473e989069128fbec99e9a0e5980db6041e5ea3bae6ff7647ba609c7fb3e6386aaa7398861d2cab6c6fb1165bfeb532855c331d
+Size (mercurial-5.5.tar.gz) = 7757631 bytes
+SHA1 (patch-D8480) = d97094c64addcc243e54cfde48734ecfe130c3d6
 SHA1 (patch-D8574) = 56cecc1c83558803186e84d90ef67b4dce68f8e9
-SHA1 (patch-D8575) = 5f414acb04ba5f8c141ceada93f29f6f7d43a833

Index: pkgsrc/devel/py-mercurial/version.mk
diff -u pkgsrc/devel/py-mercurial/version.mk:1.15 pkgsrc/devel/py-mercurial/version.mk:1.16
--- pkgsrc/devel/py-mercurial/version.mk:1.15   Tue Jun  9 07:07:13 2020
+++ pkgsrc/devel/py-mercurial/version.mk        Mon Aug  3 21:34:20 2020
@@ -1,3 +1,3 @@
-# $NetBSD: version.mk,v 1.15 2020/06/09 07:07:13 wiz Exp $
+# $NetBSD: version.mk,v 1.16 2020/08/03 21:34:20 joerg Exp $
 
-VERSION=       5.4.1
+VERSION=       5.5



Home | Main Index | Thread Index | Old Index