bytecode77
bytecode77

Reputation: 14860

Mercurial + TortoiseHg -> Empty commit message

I'm using Mercurial with TortoiseHg on Windows. And because some repositories (not all) are merely a space to sync files, I would like to have an empty commit message

Using dots as "empty commit message"

Entering a dot in the comment field seems to work, but it's annoying. Is there some sort of automatical "." commit message, or even an empty one?

I own the server with the hgweb.config and the hgwebdir.wsgi so I guess there should be a solution that works...

Disclaimer: Please do not start a discussion about the importance of commit message! I specifically want this not to happen! I use commit messages for source code repositories, but not for this task, no further explanation necessary!

Upvotes: 0

Views: 206

Answers (1)

Christophe Muller
Christophe Muller

Reputation: 5110

For pure mercurial, empty commit messages are not posible (see Does Mercurial support empty commit messages?).

For TortoiseHG the best solution would be to request a feature allowing automatical messages as you mention, some kind of template mechanism.

It has been requested here: Template for commit message but not yet implemented as far as I can see.

Upvotes: 1

Related Questions