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

Re: [PATCH] Pass REPOS-PATH in local style to Hooks

From: Lieven Govaerts <svnlgo_at_mobsol.be>
Date: 2007-01-08 21:03:17 CET

Daniel Rall wrote:
> On Mon, 08 Jan 2007, Chris Foote wrote:
>
>
>> This patch converts the SVNPath and SVNParentPath values to the internal
>> path
>> style in
>> the apache config and then converts the repos path to local style when it
>> is
>> passed to the
>> hooks.
>>
>> On windows the REPOS-PATH parameter passed to the hooks use the same format
>> as in your Apache Config.
>> e.g. If you use '/' in your SVNPath then the path in passed to the hooks
>> also
>> uses a '/',
>> but if you use '\' then the hooks also uses a '\'.
>> The former causes a problem in some hook scripts/commands that don't accept
>> a
>> '/' in paths.
>>
>
> cmpilato and I are +1 on the concept of this patch, but not setup to
> test it (it needs ra_dav on a platform where SVN_PATH_LOCAL_SEPARATOR
> is not '/'). lgo graciously volunteered to test it out on Windows,
> RSN.
>
Works fine, committed in r22932. Thanks Chris!

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jan 8 21:03:33 2007

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