Show More
@@ -346,7 +346,7 b' def message(ui, repo, ctx, ha, opts):' | |||||
346 | except Exception: |
|
346 | except Exception: | |
347 | raise util.Abort(_('Fix up the change and run ' |
|
347 | raise util.Abort(_('Fix up the change and run ' | |
348 | 'hg histedit --continue')) |
|
348 | 'hg histedit --continue')) | |
349 | message = oldctx.description() |
|
349 | message = oldctx.description() + '\n' | |
350 | message = ui.edit(message, ui.username()) |
|
350 | message = ui.edit(message, ui.username()) | |
351 | new = repo.commit(text=message, user=oldctx.user(), date=oldctx.date(), |
|
351 | new = repo.commit(text=message, user=oldctx.user(), date=oldctx.date(), | |
352 | extra=oldctx.extra()) |
|
352 | extra=oldctx.extra()) | |
@@ -450,7 +450,7 b' def histedit(ui, repo, *parent, **opts):' | |||||
450 |
|
450 | |||
451 | m, a, r, d = repo.status()[:4] |
|
451 | m, a, r, d = repo.status()[:4] | |
452 | oldctx = repo[currentnode] |
|
452 | oldctx = repo[currentnode] | |
453 | message = oldctx.description() |
|
453 | message = oldctx.description() + '\n' | |
454 | if action in ('e', 'edit', 'm', 'mess'): |
|
454 | if action in ('e', 'edit', 'm', 'mess'): | |
455 | message = ui.edit(message, ui.username()) |
|
455 | message = ui.edit(message, ui.username()) | |
456 | elif action in ('f', 'fold'): |
|
456 | elif action in ('f', 'fold'): |
General Comments 0
You need to be logged in to leave comments.
Login now