Wishlist: the ability to correct wrong commit messages.

Richard Hipp drh at sqlite.org
Wed Jul 10 19:07:15 UTC 2019


On 7/10/19, Steve Fink <sphink at gmail.com> wrote:
>
> But it *is* a little weird -- if you have an extra object or entry in
> your repository that only affects log output but does not affect any of
> the hashes, then you also have to have separate mechanisms for
> propagating that information.
>

Tags work the same way, no?

I admit that I did not know how tags worked in hg until I read your
email and went and researched it.  A magic ".hgtags" file....  By
analogy, perhaps you have a magic ".hgCommentCorrections" file that
contains the hash and the corrected comment for historical check-ins
that need a correction?  (This is just off the top of my head - I
don't know if it would work or if it is an appropriate thing to do in
Mercurial.)

Over in Fossil-land, we sync *everything*.  That means that having
extra objects that designate corrections to check-in comments is not
an issue, though it does raise separate and unrelated issues with
scaling.  I suppose everything is a trade-off.

-- 
D. Richard Hipp
drh at sqlite.org



More information about the Mercurial mailing list