post-update hook not executed after checkout?
From: Anders Gammelgaard <ang_at_d-i-s.dk>
Date: Fri, 5 Sep 2014 12:22:58 +0000
In http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-settings.html#tsvn-dug-settings-hooks the following is stated about Post-update hooks:
"Called after the update, switch or checkout finishes (whether successful or not)."
I want to exploit this excellent feature. Using right-click-on-svn-controlled-folder > TortoiseSVN > Properties > New... > Local Hooks, I have created a hook that creates a few files. As "Hook Type" I select "Post-Update Hook" and as command I choose "echo hello" (just an example, the real script is more complex).
The problem: The script is not executed when "checkout finishes" (see above) - only after ordinary update.
Doing the checkout first, and then an update right after, causes the script to run. So the problem is manageable. It would be nice, however, if it also ran right after checkout.
For the record:
Version info:
BTW: Excellent tool!
Med venlig hilsen/Best regards
Dansk IngeniørService A/S
Tel.: +45 87 38 74 50
[cid:image001.png_at_01CFC914.E42395E0]
------------------------------------------------------
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.