[--style changelog HASH]

Dr. Arne Babenhauserheide arne_bab at web.de
Mon Oct 7 11:11:04 UTC 2024


Uwe Brauer via Mercurial <mercurial at lists.mercurial-scm.org> writes:

>>>> "UBvM" == Uwe Brauer via Mercurial <mercurial at lists.mercurial-scm.org> writes:
> I think
>  hg log --style changelog

Only saw your own answer now … sorry.

>  comes very close, however in hg 6.X it inserts also a hash 
…
> Any possibility of not having the HASH?

It looks like the hash has always been in there (at least since 2006).
In 2009 the branch was added:

https://repo.mercurial-scm.org/hg/rev/3aa420c56ac4

In the hash illegal in changelogs?

(I don’t see having to replicate what git does, and having the hash in
there is useful)

That said: you can just copy tthe template file
https://repo.mercurial-scm.org/hg/file/tip/mercurial/templates/map-cmdline.changelog
and remove
\n\t[{node|short}]{tags}{branches}

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1121 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20241007/9d3b89bd/attachment.asc>


More information about the Mercurial mailing list