##// 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 if repo.ui.configbool("experimental", "histedit.autoverb"):
1318 if repo.ui.configbool("experimental", "histedit.autoverb"):
1319 for act in actions:
1319 for act in actions:
1320 ctx = repo[act.node]
1320 ctx = repo[act.node]
1321 summary = ''
1321 summary = _getsummary(ctx)
1322 if ctx.description():
1323 summary = ctx.description().splitlines()[0]
1324
1325 fword = summary.split(' ', 1)[0].lower()
1322 fword = summary.split(' ', 1)[0].lower()
1326 # if it doesn't end with the special character '!' just skip this
1323 # if it doesn't end with the special character '!' just skip this
1327 if fword.endswith('!'):
1324 if fword.endswith('!'):
General Comments 0
You need to be logged in to leave comments. Login now