2 ms·
I use Mercurial + hg-git like a weirdo. Not sure if Mercurial supports empty commits, I don't think it does.
by 8n4vidtmkvmk 2y ago
I use Mercurial + hg-git like a weirdo. Not sure if Mercurial supports empty commits, I don't think it does.
- mdaniel 2y agoI was curious and it certainly appears that you are right $ hg init $ hg commit -m"initial" nothing changed
- 8n4vidtmkvmk 2y agoTurns out it does, actually. hg ci -m "empty commit" --config ui.allowemptycommit=1 From https://stackoverflow.com/a/71428853 https://stackoverflow.com/a/71428853. I tried it to confirm.