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

Re: excluding a file or directory from svn server

From: Muthu <cmuthu_at_naturesoft.net>
Date: 2006-09-22 06:23:12 CEST

Hi,

   Thank you for your clue. I have placed "/usr/bin/svnlook changed -t
"$TXN" "$REPOS" | /bin/grep -v "/test/" > /dev/null || exit 1" in
pre-commit to exclude commit for "test" folder. It works for me. In this
case users are able execute the "svn add" command successfully. Can I
block somehow "svn add" for a particular folder.Is there any way to do
that.

   The reason why I am asking is, If a person try to add the excluded
folder, it is getting added and gives error when he tries to commit.
After that the user is not able to commit from the top folder.

Thanks,
Muthu.
> Hi Muthu,
>
> I don't have experience with 1.2.0 but in 1.3.x you can write a
> pre-commit hook to check and reject any unwanted commits.
>
> Thanks
> Lakshman
>
>
>> -----Original Message-----
>> From: Muthu [mailto:cmuthu@naturesoft.net]
>> Sent: Wednesday, 20 September 2006 2:08 PM
>> To: users@subversion.tigris.org
>> Cc: Lieven Govaerts
>> Subject: Re: excluding a file or directory from svn server
>>
>>
>>> Muthu wrote:
>>>> Hi,
>>>>
>>>> I am using subversion 1.2.0. How do I exclude a file or
>>>> directory for a particular project by configuring in the svn server
>>>> side?.Can somebody give me a idea.
>>>>
>>>> Thanks,
>>>> Muthu.
>>>>
>>> Exclude from what, can you be a bit more specific? Are you talking
>>> about commit, checkout, delete?
>>>
>>> Lieven.
>>>
>>>
>> Yes. I am taking about all the svn operations (svn commit or checkout
> or
>> add or delete).
>>
>> I have a directory called bin in the project. I don't want any people
> to
>> commit or add this folder in to the svn server.
>>
>> thanks,
>> Muthu.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 22 06:22:50 2006

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.