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

Re: svn_opt_parse_path and canonical paths

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2007-10-17 01:20:35 CEST

Blair Zajac wrote:
> I need a version of svn_opt_parse_path() that doesn't canonicalize it's
> arguments for relative externals (the scheme relative
> //hostname/path/to/repos has it's // collapsed to / so it becomes a
> server root relative URL).

Could you simply test for "//" before parsing the path, then re-add the
extra forward slash after parsing if the prior test returned true?

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Wed Oct 17 01:20:45 2007

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.