[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: Daniel Rall <dlr_at_collab.net>
Date: 2007-01-08 20:11:29 CET

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.

- Dan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jan 8 20:11:05 2007

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