On 1/11/11 3:21 PM, Bert Huijben wrote:


-----Original Message-----
From: C. Michael Pilato [mailto:cmpil...@gmail.com] On Behalf Of C. Michael
Pilato
Sent: dinsdag 11 januari 2011 22:16
To: Subversion Development
Subject: Canonicalizing relative URLs

I'm looking at issue #3601, and am reworking the way that
svn_uri_canonicalize() behaves -- namely, I'm teaching it to normalize the
case of hex-digit pairs (of the "%AB" variety) for all URIs, not just URLs.
  (Currently, it does this only for URIs with scheme data.)  But I find
myself with a small problem:  what to do about calls like these in
svn_wc_parse_externals_description3():

Wait!

The current intention is only to use svn_uri_*() for URLs. Relative paths 
should use svn_relpath_*().
So you are trying to fix a deprecated case.

Why are these deprecated? They looks like relative URIs, if you ignore the leading ^/ or //.

Mike, don't you want to canonicalize the resolved URI, not what's in the external definition? I think I called svn_uri_canonicalize() just so I could use the rest of the svn_path_*() API without core dumping.

Blair

Reply via email to