hgext3rd/topic/flow.py
changeset 4263 35130e428ebd
parent 4245 419801742d08
child 4647 228caeb8b7af
--- 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