Tortoise Hook does not trigger on network folder

25 views
Skip to first unread message

FroggDev Frogg

unread,
Jul 23, 2018, 10:55:44 AM7/23/18
to TortoiseSVN
Hi,

I added a hook script on post-update to modify a file after the update process is done.

It works fine localy.

But when i want to use Tortoise Update from context menu on a distant folder (like when i am on \\COMPUTER\SHARED\REPO) the hook does not trigger.

The update process worked, i don't get any error message, but the hook windows does not opened like if it did not triggered. 

I tested :
- to share to everyone with all rights (no success)
- to add a network drive to the folder (no success)
- to change my script for a simple .bat with an echo "test" > test.txt (no success)
- to do with other hook like post-update etc ... (no success)

Thanks

Stefan

unread,
Jul 23, 2018, 1:22:02 PM7/23/18
to TortoiseSVN


On Monday, July 23, 2018 at 4:55:44 PM UTC+2, FroggDev Frogg wrote:
Hi,

I added a hook script on post-update to modify a file after the update process is done.

It works fine localy.

how did you set up the hook script? via the settings dialog or via project properties?
please provide the exact strings/paths you used to set up the hook.


Stefan

FroggDev Frogg

unread,
Jul 24, 2018, 3:46:22 AM7/24/18
to TortoiseSVN
Hi,

Thanks for your answer.

Here is more information:

1 - Right click on any folder > Settings to open TootoiseSVN settings
2 - Hook Scripts > Add
3 - Hook information:
Hook type :                             Post-Update Hook
Working Copy Path:               D:\
Command Line To Execute:   D:\SvnPostUpdateHooksRe7.exe
Wait for the script to finish:     tested Checked & Unchecked (same result)
Hide the script while running: Unchecked (to see the window fast poping when it works)
Always execute the script:      tested Checked & Unchecked (same result)
4 - Then click ok to Add, then click OK to close the Settings window
5 - Right click on any SVN Repo (created with checkedout command)
6 - Worked for local folders but not network folders

I am available for more information if needed,
Thanks.

Stefan

unread,
Jul 24, 2018, 10:18:27 AM7/24/18
to TortoiseSVN


On Tuesday, July 24, 2018 at 9:46:22 AM UTC+2, FroggDev Frogg wrote:
Hi,

Thanks for your answer.

Here is more information:

1 - Right click on any folder > Settings to open TootoiseSVN settings
2 - Hook Scripts > Add
3 - Hook information:
Hook type :                             Post-Update Hook
Working Copy Path:               D:\

You've set the path for D:\
 
 
6 - Worked for local folders but not network folders

but then you expect it to run for network folders??

Stefan

FroggDev Frogg

unread,
Jul 24, 2018, 11:29:46 AM7/24/18
to torto...@googlegroups.com

Ok it worked,

Working copy path mean where the script can be apply sorry and thanks ! 
Reply all
Reply to author
Forward
0 new messages