You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Robert Graf-Waczenski <rg...@lsoft.com> on 2009/01/08 12:44:45 UTC
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@timetoknow.org_ <ma...@timetoknow.org>
>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1011683
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: pre-commit example
Posted by Robert Graf-Waczenski <rg...@lsoft.com>.
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@lsoft.com]
> Sent: Thursday, January 08, 2009 2:45 PM
> To: users@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@timetoknow.org_ <ma...@timetoknow.org>
>>
>>
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageI
> d=1011683
>
> To unsubscribe from this discussion, e-mail:
> [users-unsubscribe@subversion.tigris.org].
>
>
>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1011731
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
RE: pre-commit example
Posted by Ilan Yaniv <Il...@timetoknow.org>.
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@lsoft.com]
Sent: Thursday, January 08, 2009 2:45 PM
To: users@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@timetoknow.org_ <ma...@timetoknow.org>
>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageI
d=1011683
To unsubscribe from this discussion, e-mail:
[users-unsubscribe@subversion.tigris.org].
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1011708
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].