[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

AW: Making an (external) working copy readonly

From: Stohr, Alexander <Alexander.Stohr_at_HDLE.com>
Date: Fri, 20 Feb 2015 13:05:26 +0000

> > Is there a way to make such svn:externals read-only?
>
> The easiest is to tie it to a specific tag. That requires write access for *someone* who runs the third party repo to set up tags.

Make a "lock" of the files on the server mandatory for check in.
By this people will need to grab the lock first before they can check in.

Local editing will still be possible by just changing the local files attributes, e.g. on the shell.

The only down side is that people that really want to update those shared externals have to claim the lock.
BTW some repository setups (even beyond SVN) want the server file lock to be mandatory by default.
Basically it is a nice feature for serializing edits for e.g. binary files & typical office files (in contrast to plain text source files).

-Alex.
Received on 2015-02-20 14:05:55 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.