[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: Ilan Yaniv <Ilan.Yaniv_at_timetoknow.org>
Date: Thu, 8 Jan 2009 15:08:12 +0200

Hi,

I see that if I choose on my client which file to ignore it is OK.
But I want to add these files to ignore list on the server.

If there is no global ignore, then I would like to have a hook that will
ignore such files to commit.

-----Original Message-----
From: Cyril Margorin [mailto:comargo_at_gmail.com]
Sent: Thursday, January 08, 2009 3:03 PM
To: Ilan Yaniv
Cc: users_at_subversion.tigris.org
Subject: Re: pre-commit example

As I see, you may either reject commit or accept. No any changes to
transaction can be done.
In your case, you just have to set 'svn:ignore' property to ignore
this certain kind of files.

2009/1/8 Ilan Yaniv <Ilan.Yaniv_at_timetoknow.org>:
> 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.

-- 
Cyril Margorin
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1011704
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-08 14:28:16 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.