On 02.05.2012 14:54, Oto BREZINA wrote:
> I had trouble to make script working. Besides I used old version,
> scripts expect forward slashes. This may implicate from requestion URL,
> but was not clear for me first.
> I set precommit,commit,preupdate hook to program on one folder. When
> commit that folder program get stared. Hower when commit from parrent
> (no hooks there) hook does not run. Did I miss something. Is this
> inteded? If yes it is not expected.
Yes, this is intended:
The hook scripts must be configured for the folder you commit.
If you want the script to only work for subfolders, you have to check
that in the hook script yourself.
> Hook is used on actual (so caled trunk), so when ever truck is about to
> be commited some cleaning have to be done. We don't want that cleaning
> for other older branched for now.
> Most of us have checked all repository as we work on more branches at
> once and also some related tools reside in that repository. Setting hook
> on root is not favorite solution even without recurisive. I need run
> hook when folder with hook set is about to be commited and hook should
> run only for that folder (within its context).
You have to write your hook script so that the script itself only does
the job for those folders you want.
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-05-03 19:53:35 CEST