Mercurial > hg > evolve
changeset 2196:e5b06a6d8d4b
compat: drop some <hg-3.4 compatibility code
The `hg commit` commands has a -i flag for ages now.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Tue, 14 Mar 2017 09:50:55 -0700 |
parents | 47017b3086d4 |
children | de92f7efb030 |
files | hgext3rd/evolve/__init__.py |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext3rd/evolve/__init__.py +++ b/hgext3rd/evolve/__init__.py @@ -134,11 +134,7 @@ _unpack = struct.unpack aliases, entry = cmdutil.findcmd('commit', commands.table) -hasinteractivemode = any(['interactive' in e for e in entry[1]]) -if hasinteractivemode: - interactiveopt = [['i', 'interactive', None, _('use interactive mode')]] -else: - interactiveopt = [] +interactiveopt = [['i', 'interactive', None, _('use interactive mode')]] # This extension contains the following code # # - Extension Helper code