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

RE: Re: Feature request: Configure hooks for server repository path

From: Eugene Kotlyarov <e.kotlyarov_at_gmail.com>
Date: Thu, 23 Oct 2014 17:07:05 -0700 (PDT)

> See the docs:
> http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-propertypage.html#tsvn-dug-propertypage-tsvn-props
>
> You can specify the path to the hook script like this:
> %REPOROOT%/trunk/contrib/hook-scripts/client-side/checkyear.js
>
> Instead of %REPOROOT% you can also specify %REPOROOT+%. The + is used to
> insert any number of folder paths necessary to find the script. This is
> useful if you want to specify your script so that if you create a branch
> the script is still found even though the url of the working copy is now
> different. Using the example above, you would specify the path to the
> script as %REPOROOT+%/contrib/hook-scripts/client-side/checkyear.js.
>
Thank you!

I'll investigate this solution.
Couple of problems with it however are
1. Since this is client side script not all users may need/want to use it.
2. Storing script in repository maybe inconvenient since it is not related to this repository project, and if there is a bug found in it, it will have to be updated in all branches where it is stored.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-10-24 02:29: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.