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