Mercurial > evolve
diff hgext3rd/topic/flow.py @ 5193:a4d081923c81
compat: update hg-X.Y compat comments and test them
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Tue, 10 Mar 2020 19:05:08 +0700 |
parents | 48b30ff742cb |
children | d7f87c7cb1f0 |
line wrap: on
line diff
--- 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__',