equal
deleted
inserted
replaced
2213 committext = buildcommittext(repo, ctx, subs, extramsg) |
2213 committext = buildcommittext(repo, ctx, subs, extramsg) |
2214 |
2214 |
2215 # run editor in the repository root |
2215 # run editor in the repository root |
2216 olddir = os.getcwd() |
2216 olddir = os.getcwd() |
2217 os.chdir(repo.root) |
2217 os.chdir(repo.root) |
2218 text = repo.ui.edit(committext, ctx.user(), ctx.extra()) |
2218 text = repo.ui.edit(committext, ctx.user(), ctx.extra(), editform=editform) |
2219 text = re.sub("(?m)^HG:.*(\n|$)", "", text) |
2219 text = re.sub("(?m)^HG:.*(\n|$)", "", text) |
2220 os.chdir(olddir) |
2220 os.chdir(olddir) |
2221 |
2221 |
2222 if finishdesc: |
2222 if finishdesc: |
2223 text = finishdesc(text) |
2223 text = finishdesc(text) |