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

Hook Script Problems: Post-Commit Subversion Update

From: Brendan van Drempt <Brendan_vanDrempt_at_scholastic.com.au>
Date: 2004-07-13 02:37:49 CEST

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
Received on Tue Jul 13 02:36:37 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.