Comments
Patch
@@ -1316,14 +1316,11 @@ def ruleeditor(repo, ui, actions, editco
rules are in the format [ [act, ctx], ...] like in state.rules
"""
if repo.ui.configbool("experimental", "histedit.autoverb"):
for act in actions:
ctx = repo[act.node]
- summary = ''
- if ctx.description():
- summary = ctx.description().splitlines()[0]
-
+ summary = _getsummary(ctx)
fword = summary.split(' ', 1)[0].lower()
# if it doesn't end with the special character '!' just skip this
if fword.endswith('!'):
fword = fword[:-1]
if fword in primaryactions | secondaryactions | tertiaryactions: