how to bulk edit commit messages?

Roman Neuhauser neuhauser at sigpipe.cz
Sun Jun 19 11:22:10 UTC 2016


# voldermort at hotmail.com / 2016-06-19 09:19:30 +0000:
> I am going to publish a private repository. However, I first need to replace
> internal code names used in commit messages with public equivalents.
> 
> Is there a way to do automated find/replace across all commit messages? I've
> tried doing this with histedit, but it seem to require a separate editor
> session for every commit that's being changed.

nothing says the editor must be interactive.  a shell script that drives
sed would be perfectly fine.

-- 
roman



More information about the Mercurial mailing list