--- a/hgext3rd/evolve/evolvecmd.py Mon Nov 19 01:42:50 2018 +0000
+++ b/hgext3rd/evolve/evolvecmd.py Mon Nov 19 01:44:28 2018 +0000
@@ -715,10 +715,7 @@
" content-divergent changesets.\nHG: Resolve conflicts"
" in commit messages to continue.\n\n")
- if 5 <= len(ui.edit.im_func.func_defaults): # <= hg-4.3
- resolveddesc = ui.edit(prefixes + desc, ui.username(), action='desc')
- else:
- resolveddesc = ui.edit(prefixes + desc, ui.username())
+ resolveddesc = ui.edit(prefixes + desc, ui.username(), action='desc')
# make sure we remove the prefixes part from final commit message
if prefixes in resolveddesc:
# hack, we should find something better