Show More
@@ -413,7 +413,7 b' class histeditaction(object):' | |||||
413 | raise error.ParseError(_('unknown changeset %s listed') |
|
413 | raise error.ParseError(_('unknown changeset %s listed') | |
414 | % ha[:12]) |
|
414 | % ha[:12]) | |
415 |
|
415 | |||
416 |
def torule(self |
|
416 | def torule(self): | |
417 | """build a histedit rule line for an action |
|
417 | """build a histedit rule line for an action | |
418 |
|
418 | |||
419 | by default lines are in the form: |
|
419 | by default lines are in the form: | |
@@ -1323,7 +1323,7 b' def ruleeditor(repo, ui, actions, editco' | |||||
1323 | if fword in primaryactions | secondaryactions | tertiaryactions: |
|
1323 | if fword in primaryactions | secondaryactions | tertiaryactions: | |
1324 | act.verb = fword |
|
1324 | act.verb = fword | |
1325 |
|
1325 | |||
1326 |
rules = '\n'.join([act.torule( |
|
1326 | rules = '\n'.join([act.torule() for act in actions]) | |
1327 | rules += '\n\n' |
|
1327 | rules += '\n\n' | |
1328 | rules += editcomment |
|
1328 | rules += editcomment | |
1329 | rules = ui.edit(rules, ui.username(), {'prefix': 'histedit'}) |
|
1329 | rules = ui.edit(rules, ui.username(), {'prefix': 'histedit'}) |
General Comments 0
You need to be logged in to leave comments.
Login now