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

Re: Automatic formatting of source code

From: Eric Jonas <jonas_at_MIT.EDU>
Date: 2004-01-15 01:47:30 CET

On Wed, 14 Jan 2004, Garrick Olson wrote:

> What is the alternative to using a pre-commit hook? I there any way to
> do server side processing of files before they are committed?
  As was pointed out to me a while ago, this is a bad thing because the
repository has different data than the client for revision n as a result.
There is no current way for the repository to inform the client of updates
to the files at check-in. The best bet (and the solution I settled on) was
to have the client do the task, and then let the server check the results
and optionally abort if they are not correct. This solves the "client not
doing the right thing" problem.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 15 01:48:20 2004

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.