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

Re: Post-Commit on Windows 2003 Server

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-07-01 11:50:55 CEST

On Jun 30, 2007, at 23:12, Adnan Haider wrote:

> I'm using Subversion on Windows 2003 server, and can't get the post-
> commit hook to work.
> I've created "post-commit.bat" with the following contents:
> CD\program files\xampp\htdocs\dev\websitename
> svn update
> CD\
> When I run the file by itself then it works fine, however, it
> doesn't seem to work when a commit is triggered. What could the
> problem be?

Use absolute paths for everything in all hook scripts, like:

C:\SVN\svn update "C:\Program Files\xampp\htdocs\dev\websitename"

Or something like that. Adjusted for where you actually have svn
installed. Paths containing spaces, like your working copy path
apparently, need to be properly quoted.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jul 1 11:51:24 2007

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.