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

Re: svn trunk r17762: FAIL (win32 ra_svn fsfs)

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-12-14 17:07:38 CET

Garrett Rooney <rooneg@electricjellyfish.net> writes:

> On 12/14/05, D.J. Heap <djheap@gmail.com> wrote:
>>
>> After taking a look, all the failures are due to the relative paths in
>> the generated hook files. Are hooks supposed to be run with a
>> specific working directory or should they not expect to have a known
>> working directory?
>
> I'm not really sure. Personally I always try to use absolute paths in
> them though, and I don't recall any code that sets up a particular
> working directory before running them.

hooks.c:run_hook_cmd() passes "." to io.c:svn_io_start_cmd() where it
gets used to set the working directory. I guess that means the hooks
get the working directory from the server process rather than the
repository.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 14 17:11:15 2005

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

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