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

Probably a simple problem with hook script

From: Dan Shookowsky <dshookowsky_at_gmail.com>
Date: 2006-07-10 20:26:43 CEST

I'm writing a hook script to update a working copy on post-commit.
The target platforms are Windows for both the apache/subversion server
and for the working copy location. The working copy is located on a
separate box from the apache/subversion server. The issue right now
is that the hook executes but fails with no indication of what
happened.

What I've done so far:
* Apache is only internal, not exposed to the world. This allows us
to use windows accounts for authentication/authorization to the
repository. The apache server has a self-signed certificate that I've
trusted.

* The apache account is a domain user account that also owns the
repository and has write access to the WC folder.

* I've echoed the environment variables in-use while the batch file
is running and they are not substantially different from those present
when the script is run interactively at a command prompt (with the
extra AP_PARENT_ID). At the command prompt, the script is successful.

* The script performs a svn info on the repository and redirects
output to a log file. This shows that the repository is accessible
when running under apache.

* Output redirection from the svn update "uncpathname" ends up with a
0-length file

The actual command line looks like this:
svn update "\\UNCPathToWC" --username "domain\user" --password
"password" > E:\logs\post-commit.log

Can someone please tell me I'm an idiot and I'm forgetting one tiny detail?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 10 20:28:03 2006

This is an archived mail posted to the Subversion Users mailing list.