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

RE: Probably a simple problem with hook script

From: Gavin Lambert <gavinl_at_compacsort.com>
Date: 2006-07-11 00:20:13 CEST

Quoth Dan Shookowsky <mailto:dshookowsky@gmail.com>:
> 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.
[...]
> The actual command line looks like this:
> svn update "\\UNCPathToWC" --username "domain\user"
> --password "password" > E:\logs\post-commit.log

If it's writing to stderr rather than stdout then you'd need to redirect
that as well. I think you put 2>&1 or 2&>1 (I forget which) at the end
of the command line to do that.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 11 00:21:26 2006

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.