fix: fix _headssummary call to orig
authorBoris Feld <boris.feld@octobus.net>
Thu, 15 Jun 2017 13:26:05 +0200
changeset 2567 6eb87513024b
parent 2566 f6821f6bf73c
child 2568 ea0889178dbb
fix: fix _headssummary call to orig 65cf338258d2 one of two orig call wasn't compatible with mercurial version < 4.3, fix it.
hgext3rd/topic/discovery.py
--- 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