changeset 3614:9ad461df4d4d

compat: keep passing arguments as keyword argument Otherwise, This break with new changes in upstream Mercurial.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 29 Mar 2018 19:47:48 +0200
parents bf583a8dc637
children 1ff7ff53d81f
files hgext3rd/topic/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/topic/__init__.py	Thu Mar 29 18:34:32 2018 +0200
+++ b/hgext3rd/topic/__init__.py	Thu Mar 29 19:47:48 2018 +0200
@@ -1166,7 +1166,7 @@
         if node in thezeros or rev in thezeros:
             repo.ui.setconfig('_internal', 'keep-topic', 'yes',
                               source='topic-extension')
-        return orig(ui, repo, node, rev, *args, **kwargs)
+        return orig(ui, repo, node=node, rev=rev, *args, **kwargs)
     finally:
         repo.ui.restoreconfig(backup)