changing commit comments

Paul Moore p.f.moore at gmail.com
Tue Jul 15 06:48:15 CDT 2008


On 15/07/2008, Ted Pavlic <ted at tedpavlic.com> wrote:
> > when that's not important, one could probably hack something together
> > on top of mercurial queues.
>
> hg qimport -r tip
> hg qrefresh -m "New message"        (or hg qrefresh -e)
> hg qdel -r qtip

If you're not talking about the latest commit, things get distinctly
harder (although still possible via a similar process with MQ). Once
the change with the spelling mistake has been pushed/pulled into
another repo, you're probably at the point where for all practical
purposes it's not worth it.

Paul.


More information about the Mercurial mailing list