changeset 22165 | 3ddfb9b3fdc6 |
parent 22152 | d2a5986cb89d |
parent 22147 | 9ac98c2aa95c |
child 22279 | 0e38f2fbe91e |
--- a/hgext/histedit.py Wed Aug 13 22:22:24 2014 +0900 +++ b/hgext/histedit.py Thu Aug 14 15:21:48 2014 -0500 @@ -363,12 +363,7 @@ hg.update(repo, parent) ### prepare new commit data commitopts = opts.copy() - # username - if ctx.user() == oldctx.user(): - username = ctx.user() - else: - username = ui.username() - commitopts['user'] = username + commitopts['user'] = ctx.user() # commit message if opts.get('rollup'): newmessage = ctx.description()