3 ms·
"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
by pseudalopex 7y ago
"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-February/055985.html https://www.mercurial-scm.org/pipermail/mercurial-devel/2014...