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

Re: AW: Automatically tidying up code upon checkin

From: Greg Thomas <thomasgd_at_omc.bt.co.uk>
Date: 2005-09-15 17:07:32 CEST

On Thu, 15 Sep 2005 16:35:28 +0200, "Felix Gilcher"
<gilcher@exozet.com> wrote:

>There are several threads here on this list explaining why you should never manipulate code in a pre-commit-hook script.

However, you could do it in a post-commit hook. This would have to
checkout a wc on the server, run the tidy script over the code, and
then commit the changes, before cleaning up after itself.


This post represents the views of the author and does
not necessarily accurately represent the views of BT.
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 15 17:09:55 2005

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.