pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-mercurial py-mercurial: update to 4.9.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c132cf3bbdf2
branches:  trunk
changeset: 329756:c132cf3bbdf2
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Feb 14 09:53:06 2019 +0000

description:
py-mercurial: update to 4.9.

1. Security Fixes

It was possible to use symlinks and subrepositories to defeat
Mercurial's path-checking logic and write files outside a repository.
This has been fixed. Users on older versions can either disable
subrepositories with

[subrepos] allowed = false

in their configuration or by ensuring any cloned repositories don't
contain malicious symlinks.

2. New Features

    'hg histedit' will now present a curses UI if curses is available
    and 'ui.interface' or 'ui.interface.histedit' is set to 'curses'.
    The 'sparse-revlog' delta strategy is enabled by default for
    new repositories.

    See hg help config.format.sparse-revlog for details.

3. Other Notable Features

    New rewrite.update-timestamp=True option to update the commit
    timestamp on history editing (e.g. amend.)

    New ui.message-output=stderr option for scripting, which prevents
    status messages from interleaved.

    New rootglob: filename pattern for a glob that is rooted at
    the root of the repository. See hg help patterns and hg help
    hgignore for details.  Some more reimplementation of ancestry
    algorithms in Rust for better performance.

4. Backwards Compatibility Changes

    Boolean options passed to the logtoprocess extension are now
    formatted as "0" or "1" instead of "None", "False", or "True".
    The logtoprocess extension no longer supports invalid "ui.log()"
    arguments. A log message is always formatted and passed in to
    the "$MSG1" environment variable.

5. Internal API Changes

    Status messages may be sent to a dedicated stream depending on
    configuration. Don't use "ui.status()", etc. as a shorthand
    for conditional writes. Use "ui.write()" for data output.  Add
    'exthelper' class to simplify extension writing by allowing
    functions, commands, and configitems to be registered via
    annotations. The previous APIs are still available for use.
    The extension hook "extsetup" without a 'ui' argument has been
    deprecated, and will be removed in the next version. Add a 'ui'
    argument to avoid the deprecation warning.

diffstat:

 devel/py-mercurial/Makefile         |   4 +-
 devel/py-mercurial/Makefile.version |   4 +-
 devel/py-mercurial/PLIST            |  99 ++++++++++++++++++++++++++++--------
 devel/py-mercurial/distinfo         |  10 +-
 4 files changed, 85 insertions(+), 32 deletions(-)

diffs (207 lines):

diff -r 56df4963081d -r c132cf3bbdf2 devel/py-mercurial/Makefile
--- a/devel/py-mercurial/Makefile       Thu Feb 14 09:51:45 2019 +0000
+++ b/devel/py-mercurial/Makefile       Thu Feb 14 09:53:06 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2019/01/18 08:42:07 adam Exp $
+# $NetBSD: Makefile,v 1.27 2019/02/14 09:53:06 wiz Exp $
 
 DISTNAME=      mercurial-${VERSION}
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -26,8 +26,6 @@
 # Known test failures:
 # test-https.t:
 # https://bz.mercurial-scm.org/show_bug.cgi?id=6030
-# test-encoding-align.t:
-# https://bz.mercurial-scm.org/show_bug.cgi?id=6031
 do-test:
        cd ${WRKSRC} && make tests PYTHON=${PYTHONBIN} TESTFLAGS=${_MAKE_JOBS:Q}
 
diff -r 56df4963081d -r c132cf3bbdf2 devel/py-mercurial/Makefile.version
--- a/devel/py-mercurial/Makefile.version       Thu Feb 14 09:51:45 2019 +0000
+++ b/devel/py-mercurial/Makefile.version       Thu Feb 14 09:53:06 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile.version,v 1.67 2019/01/18 08:42:07 adam Exp $
+# $NetBSD: Makefile.version,v 1.68 2019/02/14 09:53:06 wiz Exp $
 
-VERSION=       4.8.2
+VERSION=       4.9
 
 PYTHON_VERSIONS_INCOMPATIBLE=  34 35 36 37 # not yet ported as of 4.3
 # see also https://www.mercurial-scm.org/wiki/SupportedPythonVersions
diff -r 56df4963081d -r c132cf3bbdf2 devel/py-mercurial/PLIST
--- a/devel/py-mercurial/PLIST  Thu Feb 14 09:51:45 2019 +0000
+++ b/devel/py-mercurial/PLIST  Thu Feb 14 09:53:06 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.21 2018/12/02 12:38:36 wiz Exp $
+@comment $NetBSD: PLIST,v 1.22 2019/02/14 09:53:06 wiz Exp $
 bin/hg
 ${PYSITELIB}/hgdemandimport/__init__.py
 ${PYSITELIB}/hgdemandimport/__init__.pyc
@@ -33,6 +33,9 @@
 ${PYSITELIB}/hgext/blackbox.py
 ${PYSITELIB}/hgext/blackbox.pyc
 ${PYSITELIB}/hgext/blackbox.pyo
+${PYSITELIB}/hgext/bookflow.py
+${PYSITELIB}/hgext/bookflow.pyc
+${PYSITELIB}/hgext/bookflow.pyo
 ${PYSITELIB}/hgext/bugzilla.py
 ${PYSITELIB}/hgext/bugzilla.pyc
 ${PYSITELIB}/hgext/bugzilla.pyo
@@ -244,9 +247,6 @@
 ${PYSITELIB}/hgext/largefiles/storefactory.py
 ${PYSITELIB}/hgext/largefiles/storefactory.pyc
 ${PYSITELIB}/hgext/largefiles/storefactory.pyo
-${PYSITELIB}/hgext/largefiles/uisetup.py
-${PYSITELIB}/hgext/largefiles/uisetup.pyc
-${PYSITELIB}/hgext/largefiles/uisetup.pyo
 ${PYSITELIB}/hgext/largefiles/wirestore.py
 ${PYSITELIB}/hgext/largefiles/wirestore.pyc
 ${PYSITELIB}/hgext/largefiles/wirestore.pyo
@@ -319,6 +319,69 @@
 ${PYSITELIB}/hgext/relink.py
 ${PYSITELIB}/hgext/relink.pyc
 ${PYSITELIB}/hgext/relink.pyo
+${PYSITELIB}/hgext/remotefilelog/__init__.py
+${PYSITELIB}/hgext/remotefilelog/__init__.pyc
+${PYSITELIB}/hgext/remotefilelog/__init__.pyo
+${PYSITELIB}/hgext/remotefilelog/basepack.py
+${PYSITELIB}/hgext/remotefilelog/basepack.pyc
+${PYSITELIB}/hgext/remotefilelog/basepack.pyo
+${PYSITELIB}/hgext/remotefilelog/basestore.py
+${PYSITELIB}/hgext/remotefilelog/basestore.pyc
+${PYSITELIB}/hgext/remotefilelog/basestore.pyo
+${PYSITELIB}/hgext/remotefilelog/connectionpool.py
+${PYSITELIB}/hgext/remotefilelog/connectionpool.pyc
+${PYSITELIB}/hgext/remotefilelog/connectionpool.pyo
+${PYSITELIB}/hgext/remotefilelog/constants.py
+${PYSITELIB}/hgext/remotefilelog/constants.pyc
+${PYSITELIB}/hgext/remotefilelog/constants.pyo
+${PYSITELIB}/hgext/remotefilelog/contentstore.py
+${PYSITELIB}/hgext/remotefilelog/contentstore.pyc
+${PYSITELIB}/hgext/remotefilelog/contentstore.pyo
+${PYSITELIB}/hgext/remotefilelog/datapack.py
+${PYSITELIB}/hgext/remotefilelog/datapack.pyc
+${PYSITELIB}/hgext/remotefilelog/datapack.pyo
+${PYSITELIB}/hgext/remotefilelog/debugcommands.py
+${PYSITELIB}/hgext/remotefilelog/debugcommands.pyc
+${PYSITELIB}/hgext/remotefilelog/debugcommands.pyo
+${PYSITELIB}/hgext/remotefilelog/extutil.py
+${PYSITELIB}/hgext/remotefilelog/extutil.pyc
+${PYSITELIB}/hgext/remotefilelog/extutil.pyo
+${PYSITELIB}/hgext/remotefilelog/fileserverclient.py
+${PYSITELIB}/hgext/remotefilelog/fileserverclient.pyc
+${PYSITELIB}/hgext/remotefilelog/fileserverclient.pyo
+${PYSITELIB}/hgext/remotefilelog/historypack.py
+${PYSITELIB}/hgext/remotefilelog/historypack.pyc
+${PYSITELIB}/hgext/remotefilelog/historypack.pyo
+${PYSITELIB}/hgext/remotefilelog/metadatastore.py
+${PYSITELIB}/hgext/remotefilelog/metadatastore.pyc
+${PYSITELIB}/hgext/remotefilelog/metadatastore.pyo
+${PYSITELIB}/hgext/remotefilelog/remotefilectx.py
+${PYSITELIB}/hgext/remotefilelog/remotefilectx.pyc
+${PYSITELIB}/hgext/remotefilelog/remotefilectx.pyo
+${PYSITELIB}/hgext/remotefilelog/remotefilelog.py
+${PYSITELIB}/hgext/remotefilelog/remotefilelog.pyc
+${PYSITELIB}/hgext/remotefilelog/remotefilelog.pyo
+${PYSITELIB}/hgext/remotefilelog/remotefilelogserver.py
+${PYSITELIB}/hgext/remotefilelog/remotefilelogserver.pyc
+${PYSITELIB}/hgext/remotefilelog/remotefilelogserver.pyo
+${PYSITELIB}/hgext/remotefilelog/repack.py
+${PYSITELIB}/hgext/remotefilelog/repack.pyc
+${PYSITELIB}/hgext/remotefilelog/repack.pyo
+${PYSITELIB}/hgext/remotefilelog/shallowbundle.py
+${PYSITELIB}/hgext/remotefilelog/shallowbundle.pyc
+${PYSITELIB}/hgext/remotefilelog/shallowbundle.pyo
+${PYSITELIB}/hgext/remotefilelog/shallowrepo.py
+${PYSITELIB}/hgext/remotefilelog/shallowrepo.pyc
+${PYSITELIB}/hgext/remotefilelog/shallowrepo.pyo
+${PYSITELIB}/hgext/remotefilelog/shallowstore.py
+${PYSITELIB}/hgext/remotefilelog/shallowstore.pyc
+${PYSITELIB}/hgext/remotefilelog/shallowstore.pyo
+${PYSITELIB}/hgext/remotefilelog/shallowutil.py
+${PYSITELIB}/hgext/remotefilelog/shallowutil.pyc
+${PYSITELIB}/hgext/remotefilelog/shallowutil.pyo
+${PYSITELIB}/hgext/remotefilelog/shallowverifier.py
+${PYSITELIB}/hgext/remotefilelog/shallowverifier.pyc
+${PYSITELIB}/hgext/remotefilelog/shallowverifier.pyo
 ${PYSITELIB}/hgext/remotenames.py
 ${PYSITELIB}/hgext/remotenames.pyc
 ${PYSITELIB}/hgext/remotenames.pyo
@@ -510,6 +573,9 @@
 ${PYSITELIB}/mercurial/extensions.py
 ${PYSITELIB}/mercurial/extensions.pyc
 ${PYSITELIB}/mercurial/extensions.pyo
+${PYSITELIB}/mercurial/exthelper.py
+${PYSITELIB}/mercurial/exthelper.pyc
+${PYSITELIB}/mercurial/exthelper.pyo
 ${PYSITELIB}/mercurial/fancyopts.py
 ${PYSITELIB}/mercurial/fancyopts.pyc
 ${PYSITELIB}/mercurial/fancyopts.pyo
@@ -561,6 +627,7 @@
 ${PYSITELIB}/mercurial/help/internals/censor.txt
 ${PYSITELIB}/mercurial/help/internals/changegroups.txt
 ${PYSITELIB}/mercurial/help/internals/config.txt
+${PYSITELIB}/mercurial/help/internals/extensions.txt
 ${PYSITELIB}/mercurial/help/internals/linelog.txt
 ${PYSITELIB}/mercurial/help/internals/requirements.txt
 ${PYSITELIB}/mercurial/help/internals/revlogs.txt
@@ -651,6 +718,9 @@
 ${PYSITELIB}/mercurial/logexchange.py
 ${PYSITELIB}/mercurial/logexchange.pyc
 ${PYSITELIB}/mercurial/logexchange.pyo
+${PYSITELIB}/mercurial/loggingutil.py
+${PYSITELIB}/mercurial/loggingutil.pyc
+${PYSITELIB}/mercurial/loggingutil.pyo
 ${PYSITELIB}/mercurial/lsprof.py
 ${PYSITELIB}/mercurial/lsprof.pyc
 ${PYSITELIB}/mercurial/lsprof.pyo
@@ -759,6 +829,9 @@
 ${PYSITELIB}/mercurial/repair.py
 ${PYSITELIB}/mercurial/repair.pyc
 ${PYSITELIB}/mercurial/repair.pyo
+${PYSITELIB}/mercurial/repocache.py
+${PYSITELIB}/mercurial/repocache.pyc
+${PYSITELIB}/mercurial/repocache.pyo
 ${PYSITELIB}/mercurial/repository.py
 ${PYSITELIB}/mercurial/repository.pyc
 ${PYSITELIB}/mercurial/repository.pyo
@@ -1062,24 +1135,6 @@
 ${PYSITELIB}/mercurial/thirdparty/attr/validators.py
 ${PYSITELIB}/mercurial/thirdparty/attr/validators.pyc
 ${PYSITELIB}/mercurial/thirdparty/attr/validators.pyo
-${PYSITELIB}/mercurial/thirdparty/cbor/__init__.py
-${PYSITELIB}/mercurial/thirdparty/cbor/__init__.pyc
-${PYSITELIB}/mercurial/thirdparty/cbor/__init__.pyo
-${PYSITELIB}/mercurial/thirdparty/cbor/cbor2/__init__.py
-${PYSITELIB}/mercurial/thirdparty/cbor/cbor2/__init__.pyc
-${PYSITELIB}/mercurial/thirdparty/cbor/cbor2/__init__.pyo
-${PYSITELIB}/mercurial/thirdparty/cbor/cbor2/compat.py
-${PYSITELIB}/mercurial/thirdparty/cbor/cbor2/compat.pyc
-${PYSITELIB}/mercurial/thirdparty/cbor/cbor2/compat.pyo
-${PYSITELIB}/mercurial/thirdparty/cbor/cbor2/decoder.py
-${PYSITELIB}/mercurial/thirdparty/cbor/cbor2/decoder.pyc
-${PYSITELIB}/mercurial/thirdparty/cbor/cbor2/decoder.pyo
-${PYSITELIB}/mercurial/thirdparty/cbor/cbor2/encoder.py
-${PYSITELIB}/mercurial/thirdparty/cbor/cbor2/encoder.pyc
-${PYSITELIB}/mercurial/thirdparty/cbor/cbor2/encoder.pyo
-${PYSITELIB}/mercurial/thirdparty/cbor/cbor2/types.py
-${PYSITELIB}/mercurial/thirdparty/cbor/cbor2/types.pyc
-${PYSITELIB}/mercurial/thirdparty/cbor/cbor2/types.pyo
 ${PYSITELIB}/mercurial/thirdparty/concurrent/__init__.py
 ${PYSITELIB}/mercurial/thirdparty/concurrent/__init__.pyc
 ${PYSITELIB}/mercurial/thirdparty/concurrent/__init__.pyo
diff -r 56df4963081d -r c132cf3bbdf2 devel/py-mercurial/distinfo
--- a/devel/py-mercurial/distinfo       Thu Feb 14 09:51:45 2019 +0000
+++ b/devel/py-mercurial/distinfo       Thu Feb 14 09:53:06 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.71 2019/01/18 08:42:07 adam Exp $
+$NetBSD: distinfo,v 1.72 2019/02/14 09:53:06 wiz Exp $
 
-SHA1 (mercurial-4.8.2.tar.gz) = f2389e708db2358e43d35d37a16fb08cfc6e1284
-RMD160 (mercurial-4.8.2.tar.gz) = 90766c7cc20293ef28f8ed45869dbf5637bfb7ed
-SHA512 (mercurial-4.8.2.tar.gz) = 1010f20ea5ed081f2d5c58e97696027b2d06dd0471b39e88a1858d5409bcf59f2ccf360925c417495834fccba06e1525ae70894233164d617227814ca2277e20
-Size (mercurial-4.8.2.tar.gz) = 6870985 bytes
+SHA1 (mercurial-4.9.tar.gz) = b6364e3fb3ba609bfaeb30b0ff3d3878909453b0
+RMD160 (mercurial-4.9.tar.gz) = bc8e47451a25be0f431262318cb2c3c84503b764
+SHA512 (mercurial-4.9.tar.gz) = 59a5467cebb51f17cce7bcada37f8d85906493ab2e3d443ceeae2c6598fb69d2d59f1e99c73bd08345c5f90501a7bae0d70e04c770ea7653ec30648e591c97fb
+Size (mercurial-4.9.tar.gz) = 7075692 bytes



Home | Main Index | Thread Index | Old Index