##// END OF EJS Templates
histedit: use _getsummary in ruleeditor...
Sean Farley -
r29469:ffa194c3 default
parent child Browse files
Show More
@@ -1318,10 +1318,7 b' def ruleeditor(repo, ui, actions, editco'
1318 1318 if repo.ui.configbool("experimental", "histedit.autoverb"):
1319 1319 for act in actions:
1320 1320 ctx = repo[act.node]
1321 summary = ''
1322 if ctx.description():
1323 summary = ctx.description().splitlines()[0]
1324
1321 summary = _getsummary(ctx)
1325 1322 fword = summary.split(' ', 1)[0].lower()
1326 1323 # if it doesn't end with the special character '!' just skip this
1327 1324 if fword.endswith('!'):
General Comments 0
You need to be logged in to leave comments. Login now