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

RE: Re: Re: pre-revprop-change

From: <Nick.Thompson_at_infineon.com>
Date: Thu, 28 Feb 2008 17:38:50 +0100

        From: Nathan Nobbe [mailto:quickshiftin_at_gmail.com]
        Sent: 28 February 2008 15:49
        

        im thankful for the replies from everyone.
        however i am not happy with the picture thats being painted.
        it seems to me, id be better off to create a post-commit hook
that simply runs dos2unix or something similar.
        can anyone argue against that ?
        
        -nathan
        

Never change files in a pre-commit hook, since that would leave you WC
and Repo in disagreement with each other over what is in a revision. Not
good.

In theory, you could do it in a post-commit hook as you said, but you
will end up with a lot of extra revisions.

We simply stop commits (pre-commit check) of files that don't meet our
formating rules.

Eventually the users learn ;-)

Nick.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-28 17:39:37 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.