Post-commit client script on network drive
From: Robby Ceyssens <Robby_at_Livios.be>
Date: Wed, 21 Apr 2010 17:27:10 +0200
I successfully created a client post-commit hook script to update my
REM * Argument 6 returns the working directory *
SET WORKING_PATH=%6
REM * Replace the working directory with the test server directory *
SET SERVER_PATH=%WORKING_PATH:C:\Users\RobbyC\Desktop\svn=V:%
REM * Remove double quotes *
SET SERVER_PATH=%SERVER_PATH:~1,-1%
ECHO %SERVER_PATH%
REM * Update the test server via svn *
IF EXIST %SERVER_PATH%\NUL.EXT "C:\Program
The script (post-commit.bat) works fine if located on my local drive but
Robby
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
|
This is an archived mail posted to the TortoiseSVN Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.