compat: keep passing arguments as keyword argument
Otherwise, This break with new changes in upstream Mercurial.
--- 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)