diff hgext3rd/topic/discovery.py @ 2567:6eb87513024b

fix: fix _headssummary call to orig 65cf338258d2 one of two orig call wasn't compatible with mercurial version < 4.3, fix it.
author Boris Feld <boris.feld@octobus.net>
date Thu, 15 Jun 2017 13:26:05 +0200
parents 65cf338258d2
children 13313d0cab71
line wrap: on
line diff
--- 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