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 5.1.

branches:  trunk
changeset: 337966:accb09ebd306
user:      wiz <>
date:      Fri Aug 16 12:59:02 2019 +0000

py-mercurial: update to 5.1.

This is an overview of the 5.1 release.

1. New Features

    New config shows status after
    successful commit.

    hg root now has templating support, including support for
    showing where a repo share's source is. See hg help -v root
    for details.

    New --force-close-branch flag for hg commit to forcibly close
    branch from a non-head changeset.

    The curses-based interface for commands like hg commit -i now
    supports a range-select mechanism. Select the first line using
    space like before, navigate to the last line, and press X
    (capital x) to set all items in the range at once. Lowercase
    x has been added as a synonym for space to help reinforce the
    mechanism, and pressing enter/return continues to be a synonym
    for "toggle the current line and move down to the next item in
    this section."

2. New Experimental Features

    New config experimental.log.topo makes hg log -G use topological
    sorting. This is especially useful for aliases since it lets
    the alias accept an -r option while still using topological
    sorting with or without the -r (unlike if you use the `sort(...,
    topo)` revset).

3. Bug Fixes

    issue4292: "hg log and {files} {file_adds} {file_mods} {file_dels}
    in template show wrong files on merged revision". See details
    in "Backwards Compatibility Changes".

4. Backwards Compatibility Changes

    Removed (experimental) support for log graph lines mixing
    parent/grandparent styles. Setting e.g. experimental.graphstyle.parent
    = ! and experimental.graphstyle.grandparent = 3. would use !
    for the first three lines of the graph and then .. This is no
    longer supported.

    If ui.origbackuppath had been (incorrectly) configured to point
    to a file, we will now replace that file by a directory and
    put backups in that directory. This is similar to how we would
    previously replace files *in* the configured directory by

    Template keyword {file_mods}, {file_adds}, and {file_dels} have
    changed behavior on merge commits. They used to be relative to
    the first parent, but they now consider both parents. {file_adds}
    shows files that exists in the commit but did not exist in
    either parent. {file_dels} shows files that do not exist in
    the commit but existed in either parent. {file_mods} show the
    remaining files from {files} that were not in the other two

5. Internal API Changes

    Matchers are no longer iterable. Use match.files() instead.

    match.visitdir() and match.visitchildrenset() now expect the
    empty string instead of '.' to indicate the root directory.

    util.dirs() and util.finddirs() now include an entry for the
    root directory (empty string).

    shelve is no longer an extension now. it will be turned on by

    New API to manage unfinished operations: Earlier there were
    distinct APIs which dealt with unfinished states and separate
    lists maintaining them that are cmdutil.afterresolvestates,
    cmdutil.unfinishedstates and cmdutil.STATES. Now these have
    been unified to a single API which handles the various states
    and their utilities. This API has been added to Now
    instead of adding to these 3 lists independently a state for
    a new operation can be registered using addunfinished() in
    state module.

    cmdutil.checkunfinished() now includes detection for merge too.
    merge abort has been disallowed in case an operation of higher
    precedence is in progress to avoid cases of partial abort of

    We used to automatically attempt to make extensions compatible
    with Python 3 (by translating their source code while loading
    it). We no longer do that.


 devel/py-mercurial/Makefile   |   4 +++-
 devel/py-mercurial/PLIST      |   9 +++++----
 devel/py-mercurial/distinfo   |  10 +++++-----
 devel/py-mercurial/ |   4 ++--
 4 files changed, 15 insertions(+), 12 deletions(-)

diffs (82 lines):

diff -r 0f1f45b2b78f -r accb09ebd306 devel/py-mercurial/Makefile
--- a/devel/py-mercurial/Makefile       Fri Aug 16 12:06:40 2019 +0000
+++ b/devel/py-mercurial/Makefile       Fri Aug 16 12:59:02 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2019/07/14 10:59:35 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2019/08/16 12:59:02 wiz Exp $
 DISTNAME=      mercurial-${VERSION}
@@ -26,6 +26,8 @@
 # Known test failures:
 # test-narrow-shallow (sometimes):
+# test-merge-combination:
        cd ${WRKSRC} && make tests PYTHON=${PYTHONBIN} TESTFLAGS=${_MAKE_JOBS:Q}
diff -r 0f1f45b2b78f -r accb09ebd306 devel/py-mercurial/PLIST
--- a/devel/py-mercurial/PLIST  Fri Aug 16 12:06:40 2019 +0000
+++ b/devel/py-mercurial/PLIST  Fri Aug 16 12:59:02 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.23 2019/05/21 20:55:02 wiz Exp $
+@comment $NetBSD: PLIST,v 1.24 2019/08/16 12:59:02 wiz Exp $
@@ -391,9 +391,6 @@
@@ -629,6 +626,7 @@
@@ -874,6 +872,9 @@
diff -r 0f1f45b2b78f -r accb09ebd306 devel/py-mercurial/distinfo
--- a/devel/py-mercurial/distinfo       Fri Aug 16 12:06:40 2019 +0000
+++ b/devel/py-mercurial/distinfo       Fri Aug 16 12:59:02 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.77 2019/07/14 10:59:35 wiz Exp $
+$NetBSD: distinfo,v 1.78 2019/08/16 12:59:02 wiz Exp $
-SHA1 (mercurial-5.0.2.tar.gz) = 81a7e9fd4e8ce206688a9a89cb1a066d7c8841d1
-RMD160 (mercurial-5.0.2.tar.gz) = 4c1c54e846d6cfcbe9ef0330be5f33eaee007c5f
-SHA512 (mercurial-5.0.2.tar.gz) = 8b328e2e5a2896b690492d75c055bb13cd76df6efb087ef770f60ead86e30f7d952cb3ca82a696c0c5ce7039c319bd0fc9b448a52c079653622760317d5bb315
-Size (mercurial-5.0.2.tar.gz) = 7202797 bytes
+SHA1 (mercurial-5.1.tar.gz) = 516800a18bb4e81ba6e4ba5d12cc5807d51bcc0a
+RMD160 (mercurial-5.1.tar.gz) = 23f05ca435a332a9db0e1f42f4841656d463acdf
+SHA512 (mercurial-5.1.tar.gz) = cf7a64a181eeb3dc8f24067ea032fb17504358a9ed08cb50ac041e66ef20426c060d997cb5d30e7582874135b0a351b3e58d7297aaa4e009aabbf562a1ab9fae
+Size (mercurial-5.1.tar.gz) = 7283396 bytes
diff -r 0f1f45b2b78f -r accb09ebd306 devel/py-mercurial/
--- a/devel/py-mercurial/     Fri Aug 16 12:06:40 2019 +0000
+++ b/devel/py-mercurial/     Fri Aug 16 12:59:02 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD:,v 1.3 2019/07/14 10:59:35 wiz Exp $
+# $NetBSD:,v 1.4 2019/08/16 12:59:02 wiz Exp $
-VERSION=       5.0.2
+VERSION=       5.1
 PYTHON_VERSIONS_INCOMPATIBLE=  36 37 # 5.0 has "beta" support for python 3
 # see

Home | Main Index | Thread Index | Old Index