mercurial/cmdutil.py
changeset 19024 ab04e87a5f3b
parent 18991 c1af1fb314bc
child 19129 bd19587a3347
equal deleted inserted replaced
19023:86531a7038ed 19024:ab04e87a5f3b
  1788             ui.note(_('stripping amended changeset %s\n') % old)
  1788             ui.note(_('stripping amended changeset %s\n') % old)
  1789             repair.strip(ui, repo, old.node(), topic='amend-backup')
  1789             repair.strip(ui, repo, old.node(), topic='amend-backup')
  1790     finally:
  1790     finally:
  1791         if newid is None:
  1791         if newid is None:
  1792             repo.dirstate.invalidate()
  1792             repo.dirstate.invalidate()
  1793         lockmod.release(wlock, lock)
  1793         lockmod.release(lock, wlock)
  1794     return newid
  1794     return newid
  1795 
  1795 
  1796 def commiteditor(repo, ctx, subs):
  1796 def commiteditor(repo, ctx, subs):
  1797     if ctx.description():
  1797     if ctx.description():
  1798         return ctx.description()
  1798         return ctx.description()