You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Brendan van Drempt <Br...@scholastic.com.au> on 2004/07/13 00:37:49 UTC

Hook Script Problems: Post-Commit Subversion Update

I am attempting to write a very simple post-commit hook which updates a
working copy when a commit occurs.

This simple batch file works fine when executed manually on both the
subversion server and subversion client (i.e. updates the specific working
copy successfully).  However it is not working as a post-commit hook script.

I have included other additional non-subversion batch file commands (e.g.
"del C:\[filename]") to ensure the batch file is being triggered properly,
and these commands executed successfully... The Subversion Update however
did not.

This is the simple batch file contents:

***

PUSHD \\[machine name]\C$\[Subversion Install Directory]\bin
UPDATE \\[machine name]\C$\[Working Copy Directory] --username [username]
--password [password]

***

Any ideas why this is not working?

Regards,

Brendan.
Email: brendan_vandrempt@scholastic.com.au

Server - Subversion 1.0.5 on Windows Server 2003
Client - Tortoise SVN on Windows Server 2003

#######################################################################
Attention: 
This communication may contain CONFIDENTIAL or copyright information 
of Scholastic Australia. If you are not an intended recipient, you MUST
NOT keep, forward, copy, use, save or rely on this communication, and 
any such action is unauthorised and prohibited. If you have received
this communication in error, please reply to this email to notify the
sender of its incorrect delivery, and then delete both it and your
reply.
Thank You

This e-mail message has been scanned for Viruses and Content and 
cleared by NetIQ MailMarshal 
#######################################################################

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org