>> svn can restrict access to directories
>>
>> http://stackoverflow.com/questions/2288810/how-to-restrict-svn-repository-user-account-to-one-directory
>
>That would be perfect if it allowed access per file instead of per
>directory.  I thought about re-arranging the layout to accommodate
>that limitation but I don't think it makes sense.

do you not want him to change it or do you not want him to be able to
read your code?

if you do not want him to read your code i'm guessing thats because of
hardcoded DB-passwords etc? 
move them into config files. or checkout a working copy and replace the
passwords with dummy strings.

if you just don't want him to change your code (or after you cleaned
out the things he is not allowed to read) you could import it into git,
have him clone the repository and make all his changes/developments.
then pull his changes and *carefully* observe the merge to make sure
nothing of your code gets changed.

Reply via email to