diff -r efd65e51bc0b -r 3ddfb9b3fdc6 hgext/histedit.py --- 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()