Re:Mercurial RFC of a new extension to directly operate on G...
by pseudalopex on Friday November 01, 2019 @10:58PM
(#21425614)
"hg id" works offline. Adding "--debug" only makes the hash longer. It can be customized with a template like "hg log".
Looking for uncommitted changes is what makes it slow. The fsmonitor extension makes it faster. Adding "-r ." skips it.
The "pad" function was added in 2014.[1]
[1] https://www.mercurial-scm.org/pipermail/mercurial-devel/2014...
>Mercurial logs are also easy to customize.
I wanted to customize logging string so that it shows (sequential commit id) - (other stuff), but there's no way to make sequential commit id to line up neatly when it goes from 9 to 10, or from 99 to 100. So making a pretty one-line log is impossible. Maybe it was fixed since then, I wouldn't know.