--- a/hgext3rd/topic/discovery.py Wed Jun 28 18:16:14 2017 +0200
+++ b/hgext3rd/topic/discovery.py Wed Jun 28 17:23:43 2017 +0200
@@ -129,8 +129,9 @@
handlecheckheads.params = frozenset()
def _pushb2phases(orig, pushop, bundler):
- hascheck = any(p.type == 'check:heads' for p in bundler._parts)
- if pushop.outdatedphases and not hascheck:
+ checktypes = ('check:heads', 'check:updated-heads')
+ hascheck = any(p.type in checktypes for p in bundler._parts)
+ if not hascheck and pushop.outdatedphases:
exchange._pushb2ctxcheckheads(pushop, bundler)
return orig(pushop, bundler)