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:           Sun Feb 11 16:04:21 UTC 2018

Modified Files:
        pkgsrc/devel/py-mercurial: Makefile.version PLIST distinfo
Removed Files:
        pkgsrc/devel/py-mercurial/patches: patch-tests_list-tree.py
            patch-tests_run-tests.py patch-tests_test-largefiles-misc.t

Log Message:
py-mercurial: update to 4.5.

Mercurial 4.5 (2018-02-01)

1.1. New Features

1.1.1. revert --interactive

The revert command now accepts the flag --interactive to allow reverting only some of the changes to the specified files.

1.1.2. Accessing hidden changesets

Set config option 'experimental.directaccess = True' to access hidden changesets from read only commands.

1.1.3. githelp extension

The githelp extension provides the hg githelp command. This command attempts to convert a git command to its Mercurial equivalent. The extension can be useful to Git users new to Mercurial.

1.1.4. Largefiles changes

    largefiles: add a 'debuglfput' command to put largefile into the store
    largefiles: add support for 'largefiles://' url scheme
    largefiles: allow to run 'debugupgraderepo' on repo with largefiles
    largefiles: convert EOL of hgrc before appending to bytes IO
    largefiles: explicitly set the source and sink types to 'hg' for lfconvert
    largefiles: modernize how capabilities are added to the wire protocol

1.2. hgweb changes

hgweb now shows more information about commits: phase (if it's not public), obsolescence status (with a short explanation and links to the successors) and instabilities (e.g. orphan, phase-divergent 
or content-divergent).

Client-side graph code has been simplified by delegating more work to the backend, so /graph page is now more in sync with /log page, visually and feature-wise. Unfortunately, this code change means 
that 3rd-party themes for 4.5+ are required to have graphentry.tmpl template available (copy it from the base theme if you don't use %include and then reference it in map file) and render entries in 
graph.tmpl -- look at one of the core themes to see what it needs to look like. JS functions that create graph vertices and edges are now available in Graph.prototype, making it possible to call the 
original functions from custom theme-specific functions if needed.

Graph now shows different symbols for normal, branch-closing, obsolete and unstable commits, and marks currently checked out commit with a circle around its graph node.

There's also now json-graph API endpoint that can be used for rendering commit graph in 3rd-party applications.

1.2.1. Other Changes

    When interactive revert is run against a revision other than the working directory parent, the diff shown is the diff to <em>apply</em> to the working directory, rather than the diff to 
<em>discard</em> from the working copy. This is in line with related user experiences with 'git' and appears to be less confusing with 'ui.interface=curses'.
    Let 'hg rebase' avoid content-divergence by skipping obsolete changesets (and their descendants) when they are present in the rebase set along with one of their successors but none of their 
successors is in destination.
    A new experimental config flag, 'rebase.experimental.inmemory', makes rebase perform an in-memory merge instead of doing it on-disk in the working copy.

    The HGPLAINEXCEPT environment variable can now include color to allow automatic output colorization in otherwise automated environments.
    A new unamend command in uncommit extension which undoes the effect of the amend command by creating a new changeset which was there before amend and moving the changes that were amended to the 
working directory.
    A '--abort' flag to merge command to abort the ongoing merge.
    An experimental flag '--rev' to 'hg branch' which can be used to change branch of changesets.
    bundle2 read I/O significantly improved
    bundle2 memory use significantly reduced during read
    clonebundle: it is now possible to serve the clonebundle using a git-lfs compatible server.

    templatefilters: add slashpath() to convert path separator to slash (issue5572)
    A new experimental config flag, 'inline-color-diff', adds within-line color diff capacity
    histedit: add support to output nodechanges using formatter to help with editor integrations

1.3. Backwards Compatibility Changes

    log --follow-first -rREV, which is deprecated, now follows the first parent of merge revisions from the specified REV just like log --follow -rREV.

    log --follow -rREV FILE.. now follows file history across copies and renames.
    transaction: register summary callbacks only at start of transaction

    hgweb's graph view no longer supports browsers that lack <canvas> support
    hgweb: only include graph-related data in jsdata variable on /graph pages

    graphlog: add another graph node type, unstable, using character *
    remove: print message for each file in verbose mode only while using '-A'

1.4. Bug Fixes

    Bookmark, whose name is longer than 255, can again be exchanged again between 4.4+ client and servers (issue5165)

    The convert extension works with bzr < 2.6.0 again (issue5733)

    Mercurial will now attempt to use hardlinks on NTFS on Windows (issue4580)

    The revset x^:: is now correctly parsed as (x^):: instead of being an error (issue5764)

    Setting the diff.noprefix configuration option no longer breaks the --stat flag on hg diff (issue5759)

    hg outgoing now honors :pushurl paths from hgrc (issue5365)

    log: translate column labels at once (issue5750)

    patch: improve heuristics to not take the word diff as header (issue1879)

    templater: look up symbols/resources as if they were separated (issue5699)
    http and ssh: support for emitting extra debug logs about requests as they happen

1.5. API Changes

    bundlerepo.bundlerepository.bundle and bundlerepo.bundlerepository.bundlefile are now prefixed with an underscore.
    Rename bundlerepo.bundlerepository.bundlefilespos to _cgfilespos.
    dirstate no longer provides a 'dirs()' method. To test for the existence of a directory in the dirstate, use 'dirstate.hasdir(dirname)'.
    mapping does not contain all template resources. use context.resource() in template functions.

    text=False|True option is dropped from the vfs interface because of Python 3 compatibility issue. Use util.tonativeeol/fromnativeeol() to convert EOL manually.

    wireproto.streamres.__init__ no longer accepts a reader argument. Use the gen argument instead.
    exchange.getbundlechunks() now returns a 2-tuple instead of just an iterator.
    bundle2 parts are no longer seekable by default
    memfilectx: the changectx argument is now mandatory in constructor


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 pkgsrc/devel/py-mercurial/Makefile.version
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/py-mercurial/PLIST
cvs rdiff -u -r1.58 -r1.59 pkgsrc/devel/py-mercurial/distinfo
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/devel/py-mercurial/patches/patch-tests_list-tree.py \
    pkgsrc/devel/py-mercurial/patches/patch-tests_run-tests.py \
    pkgsrc/devel/py-mercurial/patches/patch-tests_test-largefiles-misc.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.version
diff -u pkgsrc/devel/py-mercurial/Makefile.version:1.55 pkgsrc/devel/py-mercurial/Makefile.version:1.56
--- pkgsrc/devel/py-mercurial/Makefile.version:1.55     Wed Jan 10 19:32:13 2018
+++ pkgsrc/devel/py-mercurial/Makefile.version  Sun Feb 11 16:04:21 2018
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile.version,v 1.55 2018/01/10 19:32:13 wiz Exp $
+# $NetBSD: Makefile.version,v 1.56 2018/02/11 16:04:21 wiz Exp $
 
-VERSION=       4.4.2
+VERSION=       4.5
 
 PYTHON_VERSIONS_INCOMPATIBLE=  34 35 36 # not yet ported as of 4.3
 # see also https://www.mercurial-scm.org/wiki/SupportedPythonVersions

Index: pkgsrc/devel/py-mercurial/PLIST
diff -u pkgsrc/devel/py-mercurial/PLIST:1.17 pkgsrc/devel/py-mercurial/PLIST:1.18
--- pkgsrc/devel/py-mercurial/PLIST:1.17        Tue Nov  7 13:16:07 2017
+++ pkgsrc/devel/py-mercurial/PLIST     Sun Feb 11 16:04:21 2018
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2017/11/07 13:16:07 wiz Exp $
+@comment $NetBSD: PLIST,v 1.18 2018/02/11 16:04:21 wiz Exp $
 bin/hg
 ${PYSITELIB}/hgdemandimport/__init__.py
 ${PYSITELIB}/hgdemandimport/__init__.pyc
@@ -127,6 +127,9 @@ ${PYSITELIB}/hgext/fsmonitor/state.pyo
 ${PYSITELIB}/hgext/fsmonitor/watchmanclient.py
 ${PYSITELIB}/hgext/fsmonitor/watchmanclient.pyc
 ${PYSITELIB}/hgext/fsmonitor/watchmanclient.pyo
+${PYSITELIB}/hgext/githelp.py
+${PYSITELIB}/hgext/githelp.pyc
+${PYSITELIB}/hgext/githelp.pyo
 ${PYSITELIB}/hgext/gpg.py
 ${PYSITELIB}/hgext/gpg.pyc
 ${PYSITELIB}/hgext/gpg.pyo
@@ -187,6 +190,18 @@ ${PYSITELIB}/hgext/largefiles/uisetup.py
 ${PYSITELIB}/hgext/largefiles/wirestore.py
 ${PYSITELIB}/hgext/largefiles/wirestore.pyc
 ${PYSITELIB}/hgext/largefiles/wirestore.pyo
+${PYSITELIB}/hgext/lfs/__init__.py
+${PYSITELIB}/hgext/lfs/__init__.pyc
+${PYSITELIB}/hgext/lfs/__init__.pyo
+${PYSITELIB}/hgext/lfs/blobstore.py
+${PYSITELIB}/hgext/lfs/blobstore.pyc
+${PYSITELIB}/hgext/lfs/blobstore.pyo
+${PYSITELIB}/hgext/lfs/pointer.py
+${PYSITELIB}/hgext/lfs/pointer.pyc
+${PYSITELIB}/hgext/lfs/pointer.pyo
+${PYSITELIB}/hgext/lfs/wrapper.py
+${PYSITELIB}/hgext/lfs/wrapper.pyc
+${PYSITELIB}/hgext/lfs/wrapper.pyo
 ${PYSITELIB}/hgext/logtoprocess.py
 ${PYSITELIB}/hgext/logtoprocess.pyc
 ${PYSITELIB}/hgext/logtoprocess.pyo
@@ -232,6 +247,9 @@ ${PYSITELIB}/hgext/show.pyo
 ${PYSITELIB}/hgext/sparse.py
 ${PYSITELIB}/hgext/sparse.pyc
 ${PYSITELIB}/hgext/sparse.pyo
+${PYSITELIB}/hgext/split.py
+${PYSITELIB}/hgext/split.pyc
+${PYSITELIB}/hgext/split.pyo
 ${PYSITELIB}/hgext/strip.py
 ${PYSITELIB}/hgext/strip.pyc
 ${PYSITELIB}/hgext/strip.pyo
@@ -287,6 +305,9 @@ ${PYSITELIB}/mercurial/bundlerepo.pyo
 ${PYSITELIB}/mercurial/byterange.py
 ${PYSITELIB}/mercurial/byterange.pyc
 ${PYSITELIB}/mercurial/byterange.pyo
+${PYSITELIB}/mercurial/cacheutil.py
+${PYSITELIB}/mercurial/cacheutil.pyc
+${PYSITELIB}/mercurial/cacheutil.pyo
 ${PYSITELIB}/mercurial/cext/__init__.py
 ${PYSITELIB}/mercurial/cext/__init__.pyc
 ${PYSITELIB}/mercurial/cext/__init__.pyo
@@ -427,6 +448,7 @@ ${PYSITELIB}/mercurial/help/diffs.txt
 ${PYSITELIB}/mercurial/help/environment.txt
 ${PYSITELIB}/mercurial/help/extensions.txt
 ${PYSITELIB}/mercurial/help/filesets.txt
+${PYSITELIB}/mercurial/help/flags.txt
 ${PYSITELIB}/mercurial/help/glossary.txt
 ${PYSITELIB}/mercurial/help/hg-ssh.8.txt
 ${PYSITELIB}/mercurial/help/hg.1.txt
@@ -522,6 +544,9 @@ ${PYSITELIB}/mercurial/localrepo.pyo
 ${PYSITELIB}/mercurial/lock.py
 ${PYSITELIB}/mercurial/lock.pyc
 ${PYSITELIB}/mercurial/lock.pyo
+${PYSITELIB}/mercurial/logexchange.py
+${PYSITELIB}/mercurial/logexchange.pyc
+${PYSITELIB}/mercurial/logexchange.pyo
 ${PYSITELIB}/mercurial/lsprof.py
 ${PYSITELIB}/mercurial/lsprof.pyc
 ${PYSITELIB}/mercurial/lsprof.pyo
@@ -546,6 +571,9 @@ ${PYSITELIB}/mercurial/merge.pyo
 ${PYSITELIB}/mercurial/mergeutil.py
 ${PYSITELIB}/mercurial/mergeutil.pyc
 ${PYSITELIB}/mercurial/mergeutil.pyo
+${PYSITELIB}/mercurial/minifileset.py
+${PYSITELIB}/mercurial/minifileset.pyc
+${PYSITELIB}/mercurial/minifileset.pyo
 ${PYSITELIB}/mercurial/minirst.py
 ${PYSITELIB}/mercurial/minirst.pyc
 ${PYSITELIB}/mercurial/minirst.pyo
@@ -645,6 +673,9 @@ ${PYSITELIB}/mercurial/revset.pyo
 ${PYSITELIB}/mercurial/revsetlang.py
 ${PYSITELIB}/mercurial/revsetlang.pyc
 ${PYSITELIB}/mercurial/revsetlang.pyo
+${PYSITELIB}/mercurial/rewriteutil.py
+${PYSITELIB}/mercurial/rewriteutil.pyc
+${PYSITELIB}/mercurial/rewriteutil.pyo
 ${PYSITELIB}/mercurial/scmposix.py
 ${PYSITELIB}/mercurial/scmposix.pyc
 ${PYSITELIB}/mercurial/scmposix.pyo
@@ -654,9 +685,6 @@ ${PYSITELIB}/mercurial/scmutil.pyo
 ${PYSITELIB}/mercurial/scmwindows.py
 ${PYSITELIB}/mercurial/scmwindows.pyc
 ${PYSITELIB}/mercurial/scmwindows.pyo
-${PYSITELIB}/mercurial/selectors2.py
-${PYSITELIB}/mercurial/selectors2.pyc
-${PYSITELIB}/mercurial/selectors2.pyo
 ${PYSITELIB}/mercurial/server.py
 ${PYSITELIB}/mercurial/server.pyc
 ${PYSITELIB}/mercurial/server.pyo
@@ -741,6 +769,7 @@ ${PYSITELIB}/mercurial/templates/gitweb/
 ${PYSITELIB}/mercurial/templates/gitweb/filerevision.tmpl
 ${PYSITELIB}/mercurial/templates/gitweb/footer.tmpl
 ${PYSITELIB}/mercurial/templates/gitweb/graph.tmpl
+${PYSITELIB}/mercurial/templates/gitweb/graphentry.tmpl
 ${PYSITELIB}/mercurial/templates/gitweb/header.tmpl
 ${PYSITELIB}/mercurial/templates/gitweb/help.tmpl
 ${PYSITELIB}/mercurial/templates/gitweb/helptopics.tmpl
@@ -753,6 +782,7 @@ ${PYSITELIB}/mercurial/templates/gitweb/
 ${PYSITELIB}/mercurial/templates/gitweb/summary.tmpl
 ${PYSITELIB}/mercurial/templates/gitweb/tags.tmpl
 ${PYSITELIB}/mercurial/templates/json/changelist.tmpl
+${PYSITELIB}/mercurial/templates/json/graph.tmpl
 ${PYSITELIB}/mercurial/templates/json/map
 ${PYSITELIB}/mercurial/templates/map-cmdline.bisect
 ${PYSITELIB}/mercurial/templates/map-cmdline.changelog
@@ -775,6 +805,7 @@ ${PYSITELIB}/mercurial/templates/monoblu
 ${PYSITELIB}/mercurial/templates/monoblue/filerevision.tmpl
 ${PYSITELIB}/mercurial/templates/monoblue/footer.tmpl
 ${PYSITELIB}/mercurial/templates/monoblue/graph.tmpl
+${PYSITELIB}/mercurial/templates/monoblue/graphentry.tmpl
 ${PYSITELIB}/mercurial/templates/monoblue/header.tmpl
 ${PYSITELIB}/mercurial/templates/monoblue/help.tmpl
 ${PYSITELIB}/mercurial/templates/monoblue/helptopics.tmpl
@@ -799,6 +830,7 @@ ${PYSITELIB}/mercurial/templates/paper/f
 ${PYSITELIB}/mercurial/templates/paper/filerevision.tmpl
 ${PYSITELIB}/mercurial/templates/paper/footer.tmpl
 ${PYSITELIB}/mercurial/templates/paper/graph.tmpl
+${PYSITELIB}/mercurial/templates/paper/graphentry.tmpl
 ${PYSITELIB}/mercurial/templates/paper/header.tmpl
 ${PYSITELIB}/mercurial/templates/paper/help.tmpl
 ${PYSITELIB}/mercurial/templates/paper/helptopics.tmpl
@@ -849,6 +881,7 @@ ${PYSITELIB}/mercurial/templates/spartan
 ${PYSITELIB}/mercurial/templates/spartan/filerevision.tmpl
 ${PYSITELIB}/mercurial/templates/spartan/footer.tmpl
 ${PYSITELIB}/mercurial/templates/spartan/graph.tmpl
+${PYSITELIB}/mercurial/templates/spartan/graphentry.tmpl
 ${PYSITELIB}/mercurial/templates/spartan/header.tmpl
 ${PYSITELIB}/mercurial/templates/spartan/index.tmpl
 ${PYSITELIB}/mercurial/templates/spartan/manifest.tmpl
@@ -861,7 +894,6 @@ ${PYSITELIB}/mercurial/templates/spartan
 ${PYSITELIB}/mercurial/templates/static/background.png
 ${PYSITELIB}/mercurial/templates/static/coal-file.png
 ${PYSITELIB}/mercurial/templates/static/coal-folder.png
-${PYSITELIB}/mercurial/templates/static/excanvas.js
 ${PYSITELIB}/mercurial/templates/static/feed-icon-14x14.png
 ${PYSITELIB}/mercurial/templates/static/followlines.js
 ${PYSITELIB}/mercurial/templates/static/hgicon.png
@@ -902,6 +934,9 @@ ${PYSITELIB}/mercurial/thirdparty/attr/f
 ${PYSITELIB}/mercurial/thirdparty/attr/validators.py
 ${PYSITELIB}/mercurial/thirdparty/attr/validators.pyc
 ${PYSITELIB}/mercurial/thirdparty/attr/validators.pyo
+${PYSITELIB}/mercurial/thirdparty/selectors2.py
+${PYSITELIB}/mercurial/thirdparty/selectors2.pyc
+${PYSITELIB}/mercurial/thirdparty/selectors2.pyo
 ${PYSITELIB}/mercurial/transaction.py
 ${PYSITELIB}/mercurial/transaction.pyc
 ${PYSITELIB}/mercurial/transaction.pyo

Index: pkgsrc/devel/py-mercurial/distinfo
diff -u pkgsrc/devel/py-mercurial/distinfo:1.58 pkgsrc/devel/py-mercurial/distinfo:1.59
--- pkgsrc/devel/py-mercurial/distinfo:1.58     Tue Jan 16 09:24:56 2018
+++ pkgsrc/devel/py-mercurial/distinfo  Sun Feb 11 16:04:21 2018
@@ -1,9 +1,6 @@
-$NetBSD: distinfo,v 1.58 2018/01/16 09:24:56 wiz Exp $
+$NetBSD: distinfo,v 1.59 2018/02/11 16:04:21 wiz Exp $
 
-SHA1 (mercurial-4.4.2.tar.gz) = df543ee5bfef9ac224e2b3c108d3d2df234b043f
-RMD160 (mercurial-4.4.2.tar.gz) = 34c671ff1f2034c548c65a293fa563013a79482e
-SHA512 (mercurial-4.4.2.tar.gz) = 3d1d103689eac4f50cc1005be44144b37d75ebfac3ff3b4fc90d6f41fbee46e107a168d04f2c366ce7cca2733ea4e5b5127df462af8e253f61a72f8938833993
-Size (mercurial-4.4.2.tar.gz) = 5647013 bytes
-SHA1 (patch-tests_list-tree.py) = be9749aa09490efa28cb7cc9231fa3acf85afc7d
-SHA1 (patch-tests_run-tests.py) = 1cc2d09a5493467e12aa1c753f331a7fe9d04a64
-SHA1 (patch-tests_test-largefiles-misc.t) = f05ab87c76b51fe2a784a86d872d8e19bde30193
+SHA1 (mercurial-4.5.tar.gz) = eb50bc81430fb34c11d32a8fbe6860b3d3a87de9
+RMD160 (mercurial-4.5.tar.gz) = 646b6f06a793320db6a84d53749fc53906c3db38
+SHA512 (mercurial-4.5.tar.gz) = 5d1192d96432f4d5de6548553260d1a32ffb7786ef5f982485c74a7c389fa55fb3a1f17765ce641a82958c65a29288657aaac9d465b6382913d27e70e0d5c941
+Size (mercurial-4.5.tar.gz) = 5876130 bytes



Home | Main Index | Thread Index | Old Index