Sagar Vyas
Sagar Vyas

Reputation: 583

How to lock a folder in SVN - with tortoiseSVN client

I have couple of folders in SVN which I want to lock from other users to avoid accidental commit , I know we can lock files but looking for an option to lock a folder , I am using tortoiseSVN (TortoiseSVN 1.9.7, Build 27907 - 64 Bit , 2017/08/08 19:34:38)

Any idea ?

Upvotes: 1

Views: 1650

Answers (1)

royalTS
royalTS

Reputation: 631

It is not possible to lock a directory within SVN (see here). Therefore, TortoiseSVN cannot offer this option. You could take a look at path based access control http://svnbook.red-bean.com/nightly/en/svn.serverconfig.pathbasedauthz.html Or this answer which describes a python script to create a similar behavior.

Upvotes: 4

Related Questions