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

Re: pre-commit example

From: Robert Graf-Waczenski <rgw_at_lsoft.com>
Date: Thu, 08 Jan 2009 14:20:52 +0100

You would only need to establish a framework to roll out the subversion
client configuration to your users. AFAIK, you don't need to configure
this for every folder, you only need to define the "global-ignores"
property once for each user's client config file.

I do see however that a pre-commit hook would fix your problem once and
for all... Let me google that for you...
<http://www.letmegooglethatforyou.com/?q=subversion+pre-commit+hook+example>

Robert

Ilan Yaniv wrote:
> We create folders on daily basis.
> We have thousands of folders.
> I have hundreds of users all around the world. I want that non of them
> will ever commit "thumbs.db" will I have to do it separately for every
> user at every folder, that sounds really bad idea :)
>
> -----Original Message-----
> From: Robert Graf-Waczenski [mailto:rgw_at_lsoft.com]
> Sent: Thursday, January 08, 2009 2:45 PM
> To: users_at_subversion.tigris.org
> Subject: Re: pre-commit example
>
> That's not what you want. Instead you should look into how to configure
> subversion to ignore certain file patterns on the client side. This will
>
> cause your working copy to not even list files like "thumbs.db" as
> version-controlled. And since they are not version-controlled, they are
> not included during commit.
>
> Robert
>
> Ilan Yaniv wrote:
>
>> Hi
>>
>> I guess more then one of you guys have a pre-commit script maybe bat
>> or perl so I can also read that...
>>
>> That will not commit certain files like "thumbs.db".
>>
>> If the hook will find that there is a file like that, it will be
>> removed from the commit, so the commit will complete, but without that
>>
>
>
>> file.
>>
>> Thanks
>>
>> ***Ilan Yaniv*
>>
>> Configuration Management
>>
>> Phone: 03-7534333 ext. 5873
>>
>> _Ilan.Yaniv_at_timetoknow.org_ <mailto:Ilan.Yaniv_at_timetoknow.org>
>>
>>
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageI
> d=1011683
>
> To unsubscribe from this discussion, e-mail:
> [users-unsubscribe_at_subversion.tigris.org].
>
>
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1011731

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-08 14:37:41 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.