Add "Settings -> Advanced" option "BlockCommits"

12 views
Skip to first unread message

Tobias Knauss

unread,
Oct 25, 2018, 2:49:07 AM10/25/18
to TortoiseSVN
We use TSVN on our development computers and also on our test computers. But on our test computers, commits are prohibited.
To avoid accidental commits, we have set "AllowAuthSave=false" and removed the "commit" button from the context menu and set up client-side "start commit hooks" for every working copy on the test computer. But this does not block commits on working copies that are checked out in the future, and we don't want to use default client-side hook scripts because this requires scripts on every development computer.

I also thought of requesting a way to configure hook scripts for all working copies, but I found that you already rejected thatl, which is okay.

Therefore please add an option "BlockCommits".

Stefan

unread,
Oct 25, 2018, 12:53:50 PM10/25/18
to TortoiseSVN
you can configure a hook script to execute for whole drives, not just individual working copies.
In the settings dialog, go to "hook scripts". Then click "Add". in the field "working copy path" you can enter "C:\" or "D:\" and that will make the hook script execute for every working copy that's on that drive.
Reply all
Reply to author
Forward
0 new messages