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 Nov 13 12:26:40 UTC 2019

Modified Files:
        pkgsrc/devel/py-mercurial: Makefile PLIST distinfo version.mk

Log Message:
py-mercurial: update to 5.2.

Feature release.

Backwards Compatibility Changes
===============================

* The infinitepush extension is believed to be unused, and will be
deleted at the end of 2020 unless users contact
mercurial-devel%mercurial-scm.org@localhost.

* 'hg grep' now searches working copy file contents by default. We
recognize this is a significant change from past behavior, but
surveys of large bodies of users indicated nobody used (and almost
nobody understood) the previous no-flags behavior of 'hg grep'.
The new behavior aligns with the behavior most users expected
(including hg's maintainers), which also happens to be the behavior
of 'git grep'. Given that the old behavior was confusing to the
point of being unusable, we were comfortable changing this behavior.

API Changes ===========

* 'mercurial.hg.update*' and 'mercurial.merge.update' now expect
a value from a set of NAMED_CONSTANTS ('merge.UPDATECHECK_*'
constants) rather than a collection of magic strings. As of now,
the values are the same, but code should be prepared for these
values to change in the future.

* 'mercurial.hg.updatetotally' is now more thorough about checking
its 'updatecheck' keyword argument. Previously invalid values would
have used the configured default updatecheck method, but now will
raise ValueError.

* 'mercurial.bookmarks.bmstore' no longer has a convenience method
for looking up changectx instances from a bookmark name. Use
'repo[repo.bookmarks[name]]' intead of 'repo.bookmarks.changectx(name)'.

1.1. commands

    amend: add option to update to the current user
    amend: enable support for closing the branch
    amend: enable support for using the secret phase
    bookmarks: actual fix for race condition deleting bookmark
    bookmarks: remove changectx() method from bmstore (API)
    branchmap: explicitly warm+write all subsets of the branchmap caches
    import: add debug messages when parsing data from patch header
    import: read X-Mercurial-Node email header to determine nodeid
    log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
    merge: replace magic strings with NAMED_CONSTANTS (API)
    push: support config option to require revs be specified when running push

1.2. core

    exchange: abort on pushing bookmarks pointing to secret changesets (issue6159)
    exchange: avoid unnecessary conversion of bookmark nodes to hex (API)
    revlog: add a 'sidedata' parameters to addrevision
    revlog: add a way to control sidedata changes during revlog.clone
    revlog: add the appropriate flag is sidedata are passed to 'addrevision'
    revlog: assign rawtext earlier in '_revisiondata'
    revlog: avoid caching raw text too early in _revisiondata
    revlog: deprecate the use of 'revision(..., raw=True)'
    revlog: drop silly 'raw' parameter to 'rawdata' function
    revlog: explicitly set revlogv0 in vfs options
    revlog: introduce a 'sidedata' method
    revlog: move 'nullid' early return sooner in '_revisiondata'
    revlog: return sidedata map from '_revisiondata'
    revlog: stop calling 'basetext' 'rawtext' in _revisiondata
    revlog: stop using '_processflags' directly
    revlog: use the new sidedata map return in the sidedata method
    templatefuncs: account for user's diffopts in diff() (BC)
    ui: option to preserve the progress bar

1.3. extensions

    eol: don't fallback to use .hgeol from tip (BC)
    largefiles: use context manager for setting "lfstatus" on subrepos too
    rebase: track new nodes when --keep is set
    unshelve: abort on using --keep and --interactive together
    unshelve: add abort on using continue and interactive together
    unshelve: changes how date is set on interactive mode
    unshelve: create a matcher only if required on creating unshelve ctx
    unshelve: delete shelvedstate after a successful unshelve --continue
    unshelve: forget unknown files after a partial unshelve
    unshelve: handle stripping changesets on interactive mode
    unshelve: store information about interactive mode in shelvedstate
    unshelve: unify logic around creating an unshelve changeset

1.4. unsorted

    automation: add a command to submit to a Try server
    automation: support and use Debian Buster by default
    changelog: make copies related function return None or a valid value
    continue: added support for transplant
    copies: remove existing copy info from the changeset on amend (BC)
    demandimport: explicitly declare '_session' at the module level
    discovery: replace "heads" by "changesets" in a output note (BC)
    fastannotate: remove support for flock() locking
    fix: warn when a fixer doesn't have a configured command
    flagprocessors: deprecate _processflags
    flagprocessors: have the read transform function return side data (API)
    flagprocessors: writetransform function take side data as parameter (API)
    flagutil: move REVIDX_KNOWN_FLAGS source of truth in flagutil (API)
    flagutil: move addflagprocessor to the new module (API)
    flagutil: move insertflagprocessor to the new module (API)
    format: format commands.py, which recently regressed
    grep: enable all-files by default (BC)
    hg: have 'updatetotally' more thoroughly check updatecheck argument (API)
    infinitepush: mark extension as likely to be deleted
    narrow: don't hexify paths and double-hexify known nodes on wire (BC)
    narrow: drop server support for widening using the getbundle command (BC)
    notify: add option for deterministic message-id generation

    py3: prevent comparison with None in curses histedit (issue6196)

    python-zstandard: apply big-endian fix (issue6188)
    remotefilelog: reduce probability of race-condition in remotefilelog tests
    rust-dirstate-status: add call to rust-fast path for 'dirstate.status'
    rust-dirstate-status: rust-cpython bindings for 'dirstate.status'
    rust-dirstate-status: use fast-path even with fsmonitor and sparse extensions
    rust-discovery: optionally don't randomize at all, for tests
    sidedata: introduce a new requirement to protect the feature

    split: handle partial commit of renames when doing split or record (issue5723)
    sshserver: flush stream after command dispatch

    test: allow different result for zstd compression (issue6188)
    transplant: added support for --stop flag
    uncommit: add options to update to the current user or current date
    uncommit: add support to modify the commit message and date
    uncommit: drop the hyphen from --current-user and --current-date
    uncommit: enable support for adding a note
    uncommit: make -D/--date and -U/--user mutually exclusive

1.5. Behavior Changes

    copies: remove existing copy info from the changeset on amend (BC)
    discovery: replace "heads" by "changesets" in a output note (BC)
    eol: don't fallback to use .hgeol from tip (BC)
    grep: enable all-files by default (BC)
    narrow: don't hexify paths and double-hexify known nodes on wire (BC)
    narrow: drop server support for widening using the getbundle command (BC)
    templatefuncs: account for user's diffopts in diff() (BC)

1.6. Internal API Changes

    bookmarks: remove changectx() method from bmstore (API)
    exchange: avoid unnecessary conversion of bookmark nodes to hex (API)
    flagprocessors: have the read transform function return side data (API)
    flagprocessors: writetransform function take side data as parameter (API)
    flagutil: move REVIDX_KNOWN_FLAGS source of truth in flagutil (API)
    flagutil: move addflagprocessor to the new module (API)
    flagutil: move insertflagprocessor to the new module (API)
    hg: have 'updatetotally' more thoroughly check updatecheck argument (API)
    merge: replace magic strings with NAMED_CONSTANTS (API)


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/devel/py-mercurial/Makefile
cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/py-mercurial/PLIST
cvs rdiff -u -r1.80 -r1.81 pkgsrc/devel/py-mercurial/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-mercurial/version.mk

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.34 pkgsrc/devel/py-mercurial/Makefile:1.35
--- pkgsrc/devel/py-mercurial/Makefile:1.34     Thu Oct 10 14:15:10 2019
+++ pkgsrc/devel/py-mercurial/Makefile  Wed Nov 13 12:26:40 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2019/10/10 14:15:10 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2019/11/13 12:26:40 wiz Exp $
 
 DISTNAME=      mercurial-${VERSION}
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -24,8 +24,8 @@ INSTALLATION_DIRS+=   share/doc/mercurial
 .include "version.mk"
 
 # Known test failures:
-# none as of 5.1.2
-# # Ran 812 tests, 77 skipped, 0 failed.
+# none as of 5.2
+# Ran 817 tests, 79 skipped, 0 failed.
 #
 # test-narrow-shallow (sometimes):
 # https://bz.mercurial-scm.org/show_bug.cgi?id=6150

Index: pkgsrc/devel/py-mercurial/PLIST
diff -u pkgsrc/devel/py-mercurial/PLIST:1.24 pkgsrc/devel/py-mercurial/PLIST:1.25
--- pkgsrc/devel/py-mercurial/PLIST:1.24        Fri Aug 16 12:59:02 2019
+++ pkgsrc/devel/py-mercurial/PLIST     Wed Nov 13 12:26:40 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.24 2019/08/16 12:59:02 wiz Exp $
+@comment $NetBSD: PLIST,v 1.25 2019/11/13 12:26:40 wiz Exp $
 bin/hg
 ${PYSITELIB}/hgdemandimport/__init__.py
 ${PYSITELIB}/hgdemandimport/__init__.pyc
@@ -343,9 +343,6 @@ ${PYSITELIB}/hgext/remotefilelog/datapac
 ${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
@@ -686,6 +683,18 @@ ${PYSITELIB}/mercurial/httppeer.pyo
 ${PYSITELIB}/mercurial/i18n.py
 ${PYSITELIB}/mercurial/i18n.pyc
 ${PYSITELIB}/mercurial/i18n.pyo
+${PYSITELIB}/mercurial/interfaces/__init__.py
+${PYSITELIB}/mercurial/interfaces/__init__.pyc
+${PYSITELIB}/mercurial/interfaces/__init__.pyo
+${PYSITELIB}/mercurial/interfaces/dirstate.py
+${PYSITELIB}/mercurial/interfaces/dirstate.pyc
+${PYSITELIB}/mercurial/interfaces/dirstate.pyo
+${PYSITELIB}/mercurial/interfaces/repository.py
+${PYSITELIB}/mercurial/interfaces/repository.pyc
+${PYSITELIB}/mercurial/interfaces/repository.pyo
+${PYSITELIB}/mercurial/interfaces/util.py
+${PYSITELIB}/mercurial/interfaces/util.pyc
+${PYSITELIB}/mercurial/interfaces/util.pyo
 ${PYSITELIB}/mercurial/keepalive.py
 ${PYSITELIB}/mercurial/keepalive.pyc
 ${PYSITELIB}/mercurial/keepalive.pyo
@@ -830,9 +839,6 @@ ${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
 ${PYSITELIB}/mercurial/repoview.py
 ${PYSITELIB}/mercurial/repoview.pyc
 ${PYSITELIB}/mercurial/repoview.pyo
@@ -848,6 +854,12 @@ ${PYSITELIB}/mercurial/revlogutils/const
 ${PYSITELIB}/mercurial/revlogutils/deltas.py
 ${PYSITELIB}/mercurial/revlogutils/deltas.pyc
 ${PYSITELIB}/mercurial/revlogutils/deltas.pyo
+${PYSITELIB}/mercurial/revlogutils/flagutil.py
+${PYSITELIB}/mercurial/revlogutils/flagutil.pyc
+${PYSITELIB}/mercurial/revlogutils/flagutil.pyo
+${PYSITELIB}/mercurial/revlogutils/sidedata.py
+${PYSITELIB}/mercurial/revlogutils/sidedata.pyc
+${PYSITELIB}/mercurial/revlogutils/sidedata.pyo
 ${PYSITELIB}/mercurial/revset.py
 ${PYSITELIB}/mercurial/revset.pyc
 ${PYSITELIB}/mercurial/revset.pyo
@@ -1236,9 +1248,6 @@ ${PYSITELIB}/mercurial/utils/compression
 ${PYSITELIB}/mercurial/utils/dateutil.py
 ${PYSITELIB}/mercurial/utils/dateutil.pyc
 ${PYSITELIB}/mercurial/utils/dateutil.pyo
-${PYSITELIB}/mercurial/utils/interfaceutil.py
-${PYSITELIB}/mercurial/utils/interfaceutil.pyc
-${PYSITELIB}/mercurial/utils/interfaceutil.pyo
 ${PYSITELIB}/mercurial/utils/procutil.py
 ${PYSITELIB}/mercurial/utils/procutil.pyc
 ${PYSITELIB}/mercurial/utils/procutil.pyo

Index: pkgsrc/devel/py-mercurial/distinfo
diff -u pkgsrc/devel/py-mercurial/distinfo:1.80 pkgsrc/devel/py-mercurial/distinfo:1.81
--- pkgsrc/devel/py-mercurial/distinfo:1.80     Thu Oct 10 14:15:10 2019
+++ pkgsrc/devel/py-mercurial/distinfo  Wed Nov 13 12:26:40 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.80 2019/10/10 14:15:10 wiz Exp $
+$NetBSD: distinfo,v 1.81 2019/11/13 12:26:40 wiz Exp $
 
-SHA1 (mercurial-5.1.2.tar.gz) = bf16be5d8393af3b6571def319c1dd2900d8aa01
-RMD160 (mercurial-5.1.2.tar.gz) = 34185ae58f64452f09d061a9543f0e79a17fa849
-SHA512 (mercurial-5.1.2.tar.gz) = a8ce9d9220a5ddf452264801f06e81fe1e699ff700d085e3f82c6877910c6ef0e594203590f198b7b9e31c9a1ed627c8fa2a3a1513d0c5087cf775835a78c408
-Size (mercurial-5.1.2.tar.gz) = 7286238 bytes
+SHA1 (mercurial-5.2.tar.gz) = af9f11c886b59dda1c3a13289b80cd01fcace3bd
+RMD160 (mercurial-5.2.tar.gz) = 9d92ea804904cc32e33b5d1b99472b82858ab3bc
+SHA512 (mercurial-5.2.tar.gz) = c6437f09e852c597f15ecb2445e000db4673718190504e2336367a01655be76e9f95af53e4d09a81596cb5f1f6b32524132798430e2543e1931f3edb8bbe42b2
+Size (mercurial-5.2.tar.gz) = 7330557 bytes

Index: pkgsrc/devel/py-mercurial/version.mk
diff -u pkgsrc/devel/py-mercurial/version.mk:1.6 pkgsrc/devel/py-mercurial/version.mk:1.7
--- pkgsrc/devel/py-mercurial/version.mk:1.6    Thu Oct 10 14:15:10 2019
+++ pkgsrc/devel/py-mercurial/version.mk        Wed Nov 13 12:26:40 2019
@@ -1,6 +1,6 @@
-# $NetBSD: version.mk,v 1.6 2019/10/10 14:15:10 wiz Exp $
+# $NetBSD: version.mk,v 1.7 2019/11/13 12:26:40 wiz Exp $
 
-VERSION=       5.1.2
+VERSION=       5.2
 
 PYTHON_VERSIONS_ACCEPTED=      27 # 5.0 has "beta" support for python 3
 # see https://www.mercurial-scm.org/wiki/Python3



Home | Main Index | Thread Index | Old Index