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

Re: Interactive Hooks

From: Chintana Wilamuna <chintanaw_at_gmail.com>
Date: Tue, 16 Jun 2009 11:43:22 +0530

On Tue, Jun 16, 2009 at 5:00 AM, Tom Browder<tom.browder_at_gmail.com> wrote:

> I'm looking at protecting some of us from our own careless actions.
> For instance, adding a binary file inadvertently, when binary files
> are not prevented but not wanted in all cases.

If this what you intended, you can write a script to do svn commits.
Before doing an actual svn commit, you can check with svn status
whether there are any binary files going to be committed. If so you
can ask for confirmation before coming to the svn commit command.

Obvious downside with this is now you have to tell all your users to
commit with this script.

Bye,

    -Chintana

-- 
http://engwar.com/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2362355
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-16 08:14:33 CEST

This is an archived mail posted to the Subversion Users mailing list.