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

canonicalize paths

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 07 Nov 2008 19:21:09 +0100

Hi,

With the latest version from trunk:

While debugging a problem with a working copy on a network share, I
found that the function svn_path_canonicalize() just calls
svn_uri_canonicalize(). This does not work for UNC paths. For example,
the path
\\server\folder\mywc
gets converted to
/server/folder/mywc
(the double backslash is converted to a single slash).

This then later leads to access problems.

But I'm not sure: are clients still required to call
svn_path_canonicalize() on all paths/urls passed to svn_client_* functions?

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net

Received on 2008-11-07 19:21:32 CET

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