--- a/hgext3rd/topic/flow.py Tue Mar 10 19:04:33 2020 +0700
+++ b/hgext3rd/topic/flow.py Tue Mar 10 19:05:08 2020 +0700
@@ -101,7 +101,8 @@
def installpushflag(ui):
entry = extensions.wrapcommand(commands.table, b'push', wrappush)
- if not any(opt for opt in entry[1] if opt[1] == b'publish'): # hg <= 4.9
+ if not any(opt for opt in entry[1] if opt[1] == b'publish'):
+ # hg <= 4.8 (9b8d1ad851f8)
entry[1].append((b'', b'publish', False,
_(b'push the changeset as public')))
extensions.wrapfunction(exchange.pushoperation, '__init__',