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

Re: Modify files in start-commit

From: Stein Somers <ssomers_at_opnet.com>
Date: Wed, 24 Feb 2010 13:21:29 +0100

On 24/02/2010 12:34, Bailey, Darragh wrote:
> Is it possible to modify files in a start-commit hook and include them with a commit?

As far as I know, you can't even tell which files are modified in the
start-commit hook.

You can tell in the pre-commit hook, but its template shouts

# *** NOTE: THE HOOK PROGRAM MUST NOT MODIFY THE TXN, EXCEPT ***
# *** FOR REVISION PROPERTIES (like svn:log or svn:author). ***

If the server stores a different file content than the server stores,
the client has to somehow update the working copy.

> or would I instead have to force the developers to

Yes, let them do it up front.

-- 
Stein
Received on 2010-02-24 13:22:08 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.