Re: hook deployment script [trying svn up]
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 <firstname.lastname@example.org> 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.
Received on Tue Mar 13 18:47:32 2007
This is an archived mail posted to the Subversion Users