You can use the added Mercurial Queues (MQ) extension to modify commit authors. Please note that MQ will only work as long as the story is linear. If there are branches, you need to first reinstall them in a temporary side branch, and then after editing, return them back.
The first qimport
changes to the first set of changes you want to change:
hg qinit hg qimport -g -r <first-revnr>:tip
Then use qpop
or qgoto
to jump to the corresponding change sets:
hg qgoto <revnr>.diff
And then use qrefresh
to change the user information in the currently active change set:
hg qrefresh -u "Some User < user@example.com >"
You can check with hg log
whether the user has been updated correctly. After that, repeat for all other change sets.
When you are done, qpush
all the patches and use qfinish
to complete the repository.
hg qpush -a hg qfinish -a
source share