--- a/hgext3rd/topic/flow.py Mon Nov 19 02:25:37 2018 +0000
+++ b/hgext3rd/topic/flow.py Mon Nov 19 02:27:13 2018 +0000
@@ -7,7 +7,6 @@
extensions,
node,
phases,
- util,
)
from mercurial.i18n import _
@@ -75,9 +74,6 @@
def wrapphasediscovery(orig, pushop):
orig(pushop)
if getattr(pushop, 'publish', False):
- if not util.safehasattr(pushop, 'remotephases'):
- msg = _('--publish flag only supported from Mercurial 4.4 and higher')
- raise error.Abort(msg)
if not pushop.remotephases.publishing:
unfi = pushop.repo.unfiltered()
droots = pushop.remotephases.draftroots