I THINK, if I'm not mistaken the problem lies in the 2nd line of your batch
command:
"C:\svn.exe update C:\webserver\site" it should simply be "svn update
C:\webserver\site" unless svn.exe is sitting at your c: root? i doubt it
unless you moved a copy there.
----Original Message Follows----
From: "Richard Kroll" <richard@sitemanageware.com>
To: "Eric Lemes" <ericlemes@gmail.com>,<users@subversion.tigris.org>
Subject: RE: SVN Commit
Date: Tue, 13 Jun 2006 10:05:54 -0400
MIME-Version: 1.0
Received: from tigris.org ([204.16.104.146]) by
bay0-mc12-f13.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Tue,
13 Jun 2006 07:28:12 -0700
Received: (qmail 26495 invoked by uid 5000); 13 Jun 2006 14:06:06 -0000
Received: (qmail 26485 invoked from network); 13 Jun 2006 14:06:05 -0000
X-Message-Info: LsUYwwHHNt3W3VBYvzKZO9afv/6WvNgBYRXuo+Odo8Q=
Mailing-List: contact users-help@subversion.tigris.org; run by ezmlm
Precedence: bulk
list-help: <mailto:users-help@subversion.tigris.org>
list-unsubscribe: <mailto:users-unsubscribe@subversion.tigris.org>
list-post: <mailto:users@subversion.tigris.org>
Delivered-To: mailing list users@subversion.tigris.org
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AQAAABNijkSBS4Eq
X-IronPort-AV: i="4.06,127,1149490800"; d="scan'208,217";
a="22094218:sNHT32087727"
X-IRONPORT: SCANNED
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: SVN Commit
Thread-Index: AcaO7G8OIXKWzodhTaatcp2XjiFGagABZcmg
Return-Path: users-return-50502-pons32=hotmail.com@subversion.tigris.org
X-OriginalArrivalTime: 13 Jun 2006 14:28:13.0235 (UTC)
FILETIME=[9A3B5830:01C68EF5]
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
_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 22 23:29:52 2006