SVN disallowing editing via externals -
in svn, there way disable commits of changes made file exists locally external?
i want force users checkout actual file, make changes, , commit there. can test each of known subscribed projects of file make sure didn't break something.
not really. have precommit hook may work.
unfortunately, when edit external directory, svnlook
doesn't have way distinguish whether or not it's external. believe earlier versions of svn didn't let directly edit externals because remember seemed default behavior (i'm talking 1.2 , 1.3 here).
however, use hook prevent users editing files under directories externals.
assume have project http://svn.vegicorp.com/repo/trunk/common
that's used in http://svn.vegicorp.com/repo/trunk/foomaster
, http://svn.vegicorp.com/repo/trunk/barmaster
. externals under directory common
under these projects:
[file cannot edit external directory. please checkout http://svn.vegicorp.com/repo/trunk/common edit file] file = /trunk/*/common access = read-only users = @all [file cannot edit external directory. please checkout http://svn.vegicorp.com/repo/trunk/common edit file] file = /branches/*/*/common access = read-only users = @all [file you! checked out http://svn.vegicorp.com/repo/trunk/common ] file = /trunk/common/** access = read-write users = @all [file you! checked out http://svn.vegicorp.com/repo/trunk/common ] file = /branches/*/common/** access = read-write users = @all
Comments
Post a Comment