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

Re: cr, lf on merge ... implement or use gnu diff option?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-11-14 01:07:04 CET

Noel Yap <yap_noel@yahoo.com> writes:

> --- Ben Collins-Sussman <sussman@collab.net> wrote:
> > 2. make a company policy of setting this property
> > whenever you add
> > a new file to version control. (i.e. after
> > you 'svn add'
> > something.)
>
> I would suggest using a script for step 2 just to be
> on the safe side.
>
> Alternatively, I'm wondering if a post-commit script
> would be viable in this situation. Do you think such
> a script would be safe?

You're talking (once again) about a post-commit script making a
commit. That leads to infinite loops, remember? (Unless you're
extremely clever.) :-)

A pre-commit script won't work either, because if it changes the
transaction just before committing, then the client believes that HEAD
looks different than it really does. (i.e. the client thinks the
newly added file has no props.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 14 01:08:55 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.