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

Re: Altering source file contents with hooks

From: Steve Greenland <steveg_at_lsli.com>
Date: 2005-03-07 22:37:57 CET

On Mon, Mar 07, 2005 at 03:36:37PM -0500, Eric Thomas wrote:
> I looked through the docs and didn't find anything - it doesn't
> seem like any hooks allow direct access to the file. Am I missing
> something?

You missed the big warning in the manual that says not to do that. :-)

Basically, the problem is that if you modify the data at the server,
then what the client sent is not what is committed. This is misleading,
confusing, and generally a Bad Thing(tm).

What you can do is examine the file and reject the commit if it does not
meet local standards.

Steve

-- 
"Outlook not so good." That magic 8-ball knows everything! I'll ask
about Exchange Server next.
                           -- (Stolen from the net)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 7 22:40:40 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.