pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-hg-evolve Fix interaction between share and e...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9c08da551db7
branches:  trunk
changeset: 332410:9c08da551db7
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Apr 11 13:27:55 2019 +0000

description:
Fix interaction between share and evolve extensions. Bump revision.

diffstat:

 devel/py-hg-evolve/Makefile                                          |   4 +-
 devel/py-hg-evolve/distinfo                                          |   4 +-
 devel/py-hg-evolve/patches/patch-hgext3rd_evolve_obsdiscovery.py     |  21 ++++++
 devel/py-hg-evolve/patches/patch-hgext3rd_evolve_stablerangecache.py |  31 ++++++++++
 4 files changed, 57 insertions(+), 3 deletions(-)

diffs (87 lines):

diff -r e56aaf908dd8 -r 9c08da551db7 devel/py-hg-evolve/Makefile
--- a/devel/py-hg-evolve/Makefile       Thu Apr 11 12:50:30 2019 +0000
+++ b/devel/py-hg-evolve/Makefile       Thu Apr 11 13:27:55 2019 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2019/03/06 14:09:10 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2019/04/11 13:27:55 joerg Exp $
 
 DISTNAME=      hg-evolve-8.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel scm
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hg-evolve/}
 
diff -r e56aaf908dd8 -r 9c08da551db7 devel/py-hg-evolve/distinfo
--- a/devel/py-hg-evolve/distinfo       Thu Apr 11 12:50:30 2019 +0000
+++ b/devel/py-hg-evolve/distinfo       Thu Apr 11 13:27:55 2019 +0000
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.2 2019/03/06 13:11:56 joerg Exp $
+$NetBSD: distinfo,v 1.3 2019/04/11 13:27:55 joerg Exp $
 
 SHA1 (hg-evolve-8.4.0.tar.gz) = 35d050bace70c408f9b46b82093c48262e626fe6
 RMD160 (hg-evolve-8.4.0.tar.gz) = 9c00c54ca9a72f1eb177c948ed40a24fd8c5b966
 SHA512 (hg-evolve-8.4.0.tar.gz) = fa3769ff6d884c5733024d5e8f4474c41b72ad811f4176216f60834cec65d831e78b78ebf15568113953da691c4075b1cf136e0f3531aab90b1afdf5e638b5e1
 Size (hg-evolve-8.4.0.tar.gz) = 738359 bytes
+SHA1 (patch-hgext3rd_evolve_obsdiscovery.py) = 73ec53bd98f1c7047008487278c2ce8dce5691ed
+SHA1 (patch-hgext3rd_evolve_stablerangecache.py) = 576fed4aa2a4899c0a365f04ce8ce06f803d221e
diff -r e56aaf908dd8 -r 9c08da551db7 devel/py-hg-evolve/patches/patch-hgext3rd_evolve_obsdiscovery.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-hg-evolve/patches/patch-hgext3rd_evolve_obsdiscovery.py  Thu Apr 11 13:27:55 2019 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-hgext3rd_evolve_obsdiscovery.py,v 1.1 2019/04/11 13:27:55 joerg Exp $
+
+Fix interaction with share extension.
+
+--- hgext3rd/evolve/obsdiscovery.py.orig       2019-01-23 00:11:32.000000000 +0000
++++ hgext3rd/evolve/obsdiscovery.py
+@@ -412,12 +412,12 @@ class _obshashcache(obscache.dualsourcec
+     _schemaversion = 3
+ 
+     _cachename = 'evo-ext-obshashrange' # used for error message
+-    _filename = 'cache/evoext_obshashrange_v2.sqlite'
++    _filename = 'evoext_obshashrange_v2.sqlite'
+ 
+     def __init__(self, repo):
+         super(_obshashcache, self).__init__()
+         self._vfs = repo.vfs
+-        self._path = repo.vfs.join(self._filename)
++        self._path = repo.cachevfs.join(self._filename)
+         self._new = set()
+         self._valid = True
+         self._repo = weakref.ref(repo.unfiltered())
diff -r e56aaf908dd8 -r 9c08da551db7 devel/py-hg-evolve/patches/patch-hgext3rd_evolve_stablerangecache.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-hg-evolve/patches/patch-hgext3rd_evolve_stablerangecache.py      Thu Apr 11 13:27:55 2019 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-hgext3rd_evolve_stablerangecache.py,v 1.1 2019/04/11 13:27:55 joerg Exp $
+
+Fix interaction with share extension.
+
+--- hgext3rd/evolve/stablerangecache.py.orig   2019-01-23 00:11:32.000000000 +0000
++++ hgext3rd/evolve/stablerangecache.py
+@@ -176,7 +176,7 @@ class stablerangesqlbase(stablerange.sta
+     def __init__(self, repo, **kwargs):
+         super(stablerangesqlbase, self).__init__(**kwargs)
+         self._vfs = repo.vfs
+-        self._path = repo.vfs.join(self._cachefile)
++        self._path = repo.cachevfs.join(self._cachefile)
+         self._cl = repo.unfiltered().changelog # (okay to keep an old one)
+         self._ondisktiprev = None
+         self._ondisktipnode = None
+@@ -390,13 +390,13 @@ class stablerangesql(stablerangesqlbase,
+ class mergepointsql(stablerangesql, stablerange.stablerange_mergepoint):
+ 
+     _schemaversion = 3
+-    _cachefile = 'cache/evoext_stablerange_v2.sqlite'
++    _cachefile = 'evoext_stablerange_v2.sqlite'
+     _cachename = 'evo-ext-stablerange-mergepoint'
+ 
+ class sqlstablerange(stablerangesqlbase, stablerange.stablerange):
+ 
+     _schemaversion = 1
+-    _cachefile = 'cache/evoext_stablerange_v1.sqlite'
++    _cachefile = 'evoext_stablerange_v1.sqlite'
+ 
+     def warmup(self, repo, upto=None):
+         self._con # make sure the data base is loaded



Home | Main Index | Thread Index | Old Index