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

Re: hook deployment script [trying svn up]

From: smakawhat <smakawhat_at_yahoo.com>
Date: 2007-03-13 21:34:04 CET

I also tried using a UNC path but it's the same issue.

smakawhat <smakawhat@yahoo.com> wrote: Well I got the script working just by using an svn update D:\mypath statement.
   
  However it doesn't transfer unless I run it from the actual server. I am thinking because I have a drive letter specified in the path. I know that it mentions environment variables aren't set in hook scripts but this shouldn't matter cause I wrote an explicit path.
   
  
Andy Levy <andy.levy@gmail.com> wrote:
  On 3/13/07, smakawhat wrote:
> so this line: (including the correct paths)
>
> "C:\Path\To\svn.exe C:\Documents\MyWebSite"
>
> in the hook script is all I need for working copies from developers to
> transfer over to the webserver automatically?
>
> The hook file should be in the hooks directory of the repository and in this
> case should be and executable say changing it to 'post-commit.exe' woud
> execute it?

You cannot just change a file's extension to .exe to make it
executable. You're talking about writing a batch script, which in
Windows 2000/2003 needs either a .bat or .cmd extension.

Naming a batch script .exe is probably what's causing your NTVDM issue.

Please STOP changing your subject line on every post, as it is
breaking some peoples' mail clients (GMail for example) and makes in
general makes it harder to track the discussion.

    
---------------------------------
  No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.

 
---------------------------------
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
Received on Tue Mar 13 21:34:27 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.