equal
deleted
inserted
replaced
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() |