hgext3rd/topic/discovery.py
changeset 2567 6eb87513024b
parent 2558 65cf338258d2
child 2653 13313d0cab71
--- a/hgext3rd/topic/discovery.py	Thu Jun 15 14:44:45 2017 +0200
+++ b/hgext3rd/topic/discovery.py	Thu Jun 15 13:26:05 2017 +0200
@@ -32,7 +32,7 @@
     publishing = ('phases' not in remote.listkeys('namespaces')
                   or bool(remote.listkeys('phases').get('publishing', False)))
     if publishing or not remote.capable('topics'):
-        return orig(pushop)
+        return orig(*args)
     oldrepo = repo.__class__
     oldbranchcache = branchmap.branchcache
     oldfilename = branchmap._filename