hgext/histedit.py
changeset 29467 4c4232e51167
parent 29466 a0efbfbba7b5
child 29468 04b68ce5e964
equal deleted inserted replaced
29466:a0efbfbba7b5 29467:4c4232e51167
  1267     if not obsolete.isenabled(repo, obsolete.createmarkersopt):
  1267     if not obsolete.isenabled(repo, obsolete.createmarkersopt):
  1268         backupfile = repair._bundle(repo, [parentctxnode], [topmost], root,
  1268         backupfile = repair._bundle(repo, [parentctxnode], [topmost], root,
  1269                                     'histedit')
  1269                                     'histedit')
  1270     state.backupfile = backupfile
  1270     state.backupfile = backupfile
  1271 
  1271 
       
  1272 def _getsummary(ctx):
       
  1273     # a common pattern is to extract the summary but default to the empty
       
  1274     # string
       
  1275     summary = ctx.description() or ''
       
  1276     if summary:
       
  1277         summary = summary.splitlines()[0]
       
  1278     return summary
       
  1279 
  1272 def bootstrapcontinue(ui, state, opts):
  1280 def bootstrapcontinue(ui, state, opts):
  1273     repo = state.repo
  1281     repo = state.repo
  1274     if state.actions:
  1282     if state.actions:
  1275         actobj = state.actions.pop(0)
  1283         actobj = state.actions.pop(0)
  1276 
  1284