Feature request: one global commit batch with different commit messages?

13 views
Skip to first unread message

Luc Chapon

unread,
Apr 16, 2021, 7:31:11 AM4/16/21
to TortoiseSVN

Hello
I don’t commit file by file, or atomically everytime I make one modification.
Usually, I launch the commit dialog on one folder and see what's there to be committed.

I often have to deal with multiple modified files, for various reasons, and only have the possibility of one unique global commit message.

What I do then is uncheck all, then select the files I want to commit with one specific message, commit, and then relaunch the commit dialog on the folder, etc, etc, Time consuming and error prone! I just made a whole commit batch with a wrong message, and I can not edit the commit message.

I long for a “per line” message feature, where the general commit message would be the default one, but where I could set a specific commit message on some files.

Tortoise would then have, I guess, to make several commit batches based on commit message comparison.

Daniel Sahlberg

unread,
Apr 16, 2021, 9:45:46 AM4/16/21
to TortoiseSVN
Den fre 16 apr. 2021 kl 13:31 skrev Luc Chapon via TortoiseSVN <torto...@googlegroups.com>:

Hello
I don’t commit file by file, or atomically everytime I make one modification.
Usually, I launch the commit dialog on one folder and see what's there to be committed.

I often have to deal with multiple modified files, for various reasons, and only have the possibility of one unique global commit message.

What I do then is uncheck all, then select the files I want to commit with one specific message, commit, and then relaunch the commit dialog on the folder, etc, etc, Time consuming and error prone! I just made a whole commit batch with a wrong message, and I can not edit the commit message.

Not a solution to your feature request, but you can enable editing of the commit message if you add a pre-revprop-change hook script. You do this at the SVN server by adding a script in the hooks folder of the repository (there are already a few templates that can be used as a boiler plate). For more information, see the SVN Book: http://svnbook.red-bean.com/en/1.7/svn-book.html#svn.ref.reposhooks.pre-revprop-change

This would at least help you change the incorrect commit message. It would not help you to split the commit into several different commits.

Kind regards
Daniel Sahlberg
Reply all
Reply to author
Forward
0 new messages