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

RE: Post-commit client script on network drive

From: Robby Ceyssens <Robby_at_Livios.be>
Date: Thu, 22 Apr 2010 17:19:38 +0200

Yes, I'm just trying to run the batch locally (Windows 7 x64 with Tortoise) and the batch file is stored on the network share.

-----Original Message-----
From: Bob Archer [mailto:Bob.Archer_at_amsi.com]
Sent: donderdag 22 april 2010 17:09
To: users_at_tortoisesvn.tigris.org
Subject: RE: Post-commit client script on network drive

So you are trying to get this hook to run on the remote machine rather than on the local machine? My understanding was you were just trying to execute the batch locally and just have it stored on a share?

BOb

> I can run the batch file on the network share without any problem. I used
> procmon.exe from Sysinternals but the hook script is never called by
> Tortoise.
>
> I tried running the batch file via cmd.exe /c and using the network path
> (\\<server>\...) instead of the mapped network drive without success.
>
> Any more suggestions ?
>
> -----Original Message-----
> From: Stefan Küng [mailto:tortoisesvn_at_gmail.com]
> Sent: woensdag 21 april 2010 19:36
> To: users_at_tortoisesvn.tigris.org
> Subject: Re: Post-commit client script on network drive
>
> > I successfully created a client post-commit hook script to update my
> > testing webserver.
> >
> > 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
> > Files\TortoiseSVN\bin\tortoiseproc.exe" /command:update
> > /path:"%SERVER_PATH%"
> >
> > The script (post-commit.bat) works fine if located on my local drive but
> > when located on the network drive (which my account has full access to)
> > the post-commit script does not run.
>
> You might have to specify cmd.exe as the hook app to execute, not the
> bat file itself.
>
> Stefan
>
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest Interface to (Sub)Version Control
> /_/ \_\ http://tortoisesvn.net
>
> ------------------------------------------------------
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId
> =2591801
>
> To unsubscribe from this discussion, e-mail: [users-
> unsubscribe_at_tortoisesvn.tigris.org].
>
> ------------------------------------------------------
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId
> =2592291
>
> To unsubscribe from this discussion, e-mail: [users-
> unsubscribe_at_tortoisesvn.tigris.org].

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2592676

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2592685

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-04-22 18:02:34 CEST

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.