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

Re: Hooks

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: Mon, 23 Jun 2008 13:18:30 -0700

On Mon, Jun 23, 2008 at 11:34 AM, Ravi Bavanari <ravi.bavanari_at_gmail.com>
wrote:

> Hi All,
>
> I am new to Subversion, can any one please help me in finding where hooks
> are located?
>
> my repository url is as below,
>
> http://svn.mycompany.com/mycompany/trunk and OS is Linux.
>
>

It is not possible to tell the location of the hook scripts from the URL.
Nor can you access the hook scripts using a URL.
Do you have access to the machine hosting svn.mycompany.com? If you do, then
open the http conf file (or an appropriate configuration file in conf.d
directory), and look for something like:

<Location /mycompany>
        DAV svn
        SVNPath [<a-location-on-this-machine>]
        ...
        ...
</Location>

The location against SVNPath is the location of the repository.
[Sometimes you will see SVNParentPath, in which case the repository is under
the directory 'mycompany' under the given location].

And the hook scripts are located under the hooks directory of the
repository.

regards,
-Hari
Received on 2008-06-23 22:18:53 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.