How can I create only some folders for specific developers with SVN

I have a repository with a bunch of folders, and I want some developers to get only two or three of these folders when they do a check in the repository. How to make folders not show by default, and then add them only if I want to grant access.

I use VisualSVN for the SVN server, and what I did is gain read access to the upper level, then deny access to each subfolder, and then change the read / write ban on the folders that I want each developer had access, This is a pain, because whenever I add a new folder, I have to go in and deny access to it.

I tried just providing read / write in the subfolders, but when they try to check with the parent, it gives them an error. I want developers to have to do validation in a top-level folder.

Here is what I want:

RepoFolder       (dev1 checks out this)
  - References   (this shows to dev1)
  - Project1     (this shows to dev1)
  - Project2     (this does not show to dev1)
  - Project3     (this does not show to dev1)
  - Project4     (this does not show to dev1)
+4
source share
1 answer

I don’t think that you can do exactly what you want everyone to check out http://example.com/svn/repos/ and depending on who you are, you see different things.

You are on the right track by denying access to folders. What you can do is create a view folder for specific developers. Suppose all your projects look like

http://example.com/svn/repos/projects/
   +- References
   +- Project1
   +- Project2

, .

http://example.com/svn/repos/
   + projects/       
       +- References
       +- Project1
       +- Project2
   + views/
       +- View1

views View1 - , . Trick - svn:externals View1 http://example.com/svn/repos/projects/References http://example.com/svn/repos/projects/Project1. - View1, References Project1. , .

+4

All Articles