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

RE: RE: Windows hook scripts

From: Mark Withington <mwithington_at_PLMresearch.com>
Date: 2005-09-22 17:33:13 CEST

Success! A couple of bonehead things here.

Although the .bat hooks scripts are located on the server, they run through
the client machine, therefore, I had to:

1. Allow UNC Paths at the Command Prompt (probably not a show stopper):
The Command Processor normally checks and disallows UNC names from being
used for the current directory in the Command Prompt as they may cause
problems with launched child processes. This tweak can be used to allow UNC
paths and remove the warning message.
2. Map a network drive to the subversion directory on the server, otherwise
any svn command (look, diff, etc.) wasn't recognized
3. When I was writing temporary files, of course, they show up on the local
machine not the server.

Well that was simple...glad I took the time to clear that up... now to do
some real work... what days is it today;-)

-----Original Message-----
From: Dale Hirt [mailto:dale@sbcltd.com]
Sent: Monday, September 19, 2005 4:52 PM
To: Mark Withington
Subject: RE: RE: Windows hook scripts [GFI-T62621-43343AFAF33B7517]

There are two separate issues here. The first is that windows, when
looking for a command to run, will grab an exe before a bat file. The
second is that Subversion only calls post-commit once.

So, your post-commit.exe will always run, and your post-commit.bat will
never run. A better way to do it is to rename post-commit.exe to
post-commit2.exe and then call it from post-commit.bat.


-----Original Message-----
From: Mark Withington [mailto:mwithington@PLMresearch.com]
Sent: Monday, September 19, 2005 1:37 PM
To: users@subversion.tigris.org
Subject: RE: Windows hook scripts [GFI-T62621-43343AFAF33B7517]

This is really strange. I commit to my repository two separate times, the
.exe files (e.g. post-commit.exe) runs but the .bat files (e.g.
post-commit.bat) do not. I have my repository on one machine and working
copy on another, using tortoise as a client (with the bugtraq variable set
in the properties file). Anyone have any suggested?



Mark L. Withington
v: 508-746-2383
m: 508-801-0181
Calendar: http://www.plmresearch.com/calendar.php

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 22 17:35:11 2005

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.