Comments
Patch
@@ -1267,10 +1267,18 @@ def _newhistedit(ui, repo, state, revs,
if not obsolete.isenabled(repo, obsolete.createmarkersopt):
backupfile = repair._bundle(repo, [parentctxnode], [topmost], root,
'histedit')
state.backupfile = backupfile
+def _getsummary(ctx):
+ # a common pattern is to extract the summary but default to the empty
+ # string
+ summary = ctx.description() or ''
+ if summary:
+ summary = summary.splitlines()[0]
+ return summary
+
def bootstrapcontinue(ui, state, opts):
repo = state.repo
if state.actions:
actobj = state.actions.pop(0)