On 5/3/07, Fred Rosenblatt <email@example.com> wrote:
> Lübbe Onken <l.onken@...> writes:
> > Hi Andy Levy,
> > You wrote:
> > > On 5/2/07, Fred Rosenblatt <fredr5@...> wrote:
> > >> After some investigation, it appears that the hook scripts must be
> > >> executed by Tortoise locally.
> > >>
> > >> I'm looking at the help info at:
> > >>
> > >>
> > > http://tortoisesvn.net/docs/nightly/TortoiseSVN_hr/tsvn-dug-se
> > > ttings.html,
> > ...
> > > Hook scripts are executed by the server, on the server. They're stored
> > > in the hooks directory inside the repository directory (the one
> > > created by svnadmin create).
> > This information is correct, the hook scripts Fred was referring to are
> > client side hook scripts that are executed locally only.
> > Browsing through the documentation reveals that we never mention that the
> > scripts which can be configured by TortoiseSVN are client side hook scripts.
> > (only in the index)
> > I'll fix this immediately.
> Thank you so much for the responses. We in fact did set up the hook script,
> perl and email list files on the server, but couldn't see how to get "svn
> commit" to trigger (executing post-commit.bat on the command line does produce
> the desired emails).
Most likely it's a permissions or environment issue. Hook scripts are
called with a bare-minimum environment for security - so things that
you assume to be in the %PATH% may not actually be there when the
server executes the hook script. Specify full paths to any
files/executables in your post-commit.bat and see if that fixes the
> Then I saw in the Tortoise documentation what appears to be a requirement to
> execute the hook script in Tortoise, on the client side. There is a Properties
> dialog box to do this, but unfortunately we do not see "hook script" appearing
> below "Saved Data" as is shown in the documentation. What am I misunderstanding?
Client-side hooks are a feature of an upcoming release of TSVN; you're
reading the documentation for that future release. If you're running
1.4.3, those features don't exist for you.
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Thu May 3 17:58:10 2007