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

RE: SVN Commit

From: Richard Kroll <richard_at_sitemanageware.com>
Date: 2006-06-13 16:05:54 CEST

When I did the initial checkout, I was logged in as administrator, and
have configured the apache 2 service to log on as administrator. How
should I go about setting all the environment vars to nothing? The
current script I'm trying to run is:

 

@echo Starting Dev Deployment

C:\svn.exe update C:\webserver\site

echo --------- >> c:\svnhook.log

echo updated >> c:\svnhook.log

Date /T >> c:\svnhook.log

Time /T >> c:\svnhook.log

echo --------- complete >> c:\svnhook.log

@echo Deployment complete

 

When I run this, the log file is populated, but the svn update does not
run. Any ideas?

 

________________________________

From: Eric Lemes [mailto:ericlemes@gmail.com]
Sent: Tuesday, June 13, 2006 9:23 AM
To: Richard Kroll; users@subversion.tigris.org
Subject: Re: SVN Commit

 

Hello Rich,

The main question is the environment variables... one of the specials is
PATH.

A good way to debug your script is set the apache user (not on a
production server) to your user.

Then SET all your environment vars to nothing and try to run the script.

Eric Lemes

On 6/12/06, Richard Kroll <richard@sitemanageware.com> wrote:

Hello all,
I'm new to this list and am having some trouble that I hope someone here
might be able to help me out with. I did a search of the archives and
could not find a response to this particular problem.

We currently have SVN running on our QA windows server with apache 2 as
the web server. The repository has been created and everything is
working great. My problem comes when I'm trying to get the physical
files out of the repository. I checked out the repository to a
directory on our QA server and am attempting to create a post-commit
script that will run svn update on the checked out directory. I've read
that when people are having problems is generally due to the fact that
the user does not have permissions to run the file, but I'm unsure how
to set this up on windows.

I'm assuming this is a common problem, but I can't figure out what I'm
doing wrong, so any info would be greatly appreciated.

Rich

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

 
Received on Tue Jun 13 16:08:07 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.