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

Re: hook permissions, visualsvn, windows

From: Lorenz <lorenznl_at_yahoo.com>
Date: Thu, 09 Jun 2011 05:55:54 +0000

Henry Hartley wrote:
>I have VisualSVN 2.1.9 running on a Windows Server 2008.
>The hook file, which is meant to update a checked out version of a web site located
>where the web server expects it, has the following three lines (not counting comments,
>also, the last two lines below are one line in the hook):
>>"C:\Program Files (x86)\VisualSVN Server\bin\svn" update "$REPOS"
>> D:/websites/wwwsite1

that doesn't look like a windows batch file to me.
You sure that runs from the windows command line?

Doing so on win xp gives me errors about the "REPOS=$1" and "REV=$2"
lines. And the when I correct the syntax the call to svn results in
svn trying to update $REPOS (literally!) and D:/Websites/wwwsite1

Anyway, the syntax of the update command is:

        svn up <path to working copy>

no repository url/path required/allowed.

Received on 2011-06-09 07:56:25 CEST

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.