changeset 7017:f9dbac4bbb9d stable

topic: forward extra kwargs in our wrapper of repo.wlock() Upstream is getting a new parameter to deal with the lock hacks during "copy" clone. We need to adapt our wrapper. See https://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/1186
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 31 Jan 2025 10:51:43 +0100
parents ce1f1740c335
children 7ca20c26e628
files hgext3rd/topic/__init__.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/topic/__init__.py	Wed Feb 19 15:57:46 2025 +0400
+++ b/hgext3rd/topic/__init__.py	Fri Jan 31 10:51:43 2025 +0100
@@ -719,8 +719,8 @@
             self._topic_namespaces = namespaces
             return namespaces
 
-        def wlock(self, wait=True):
-            wlock = super(topicrepo, self).wlock(wait=wait)
+        def wlock(self, wait=True, **kwargs):
+            wlock = super(topicrepo, self).wlock(wait=wait, **kwargs)
             # we should definitely drop this at some point, but it depends on
             # our own release schedule, not core's, so here's hg 1.0
             # hg <= 1.0 (cfa08c88a5c4)