0

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!

bytecode77
  • 14,163
  • 30
  • 110
  • 141

1 Answers1

1

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.

Community
  • 1
  • 1
Christophe Muller
  • 4,850
  • 1
  • 23
  • 31