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

Re: UTF-8 NFC/NFD paths issue

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Thu, 10 Feb 2011 13:45:40 -0500

On 09/20/2010 10:38 AM, Erik Huelsmann wrote:
> To recap, the change I'm proposing is that we check pathnames with NFC/D
> aware comparison routines upon add_file() / add_directory() inside
> libsvn_repos or libsvn_fs_* - of which I suspect it's easier to handle
> inside the latter. In my proposal, we don't specify a "repository normal"
> encoding. If performance degrades too much, we can enhance the filesystem
> with a normalized version which doesn't need to be recoded in order to do
> the comparison with the incoming path.

For the filesystem backends, I believe this comparison would need to happen
in these places:

    subversion/libsvn_fs_base/tree.c:open_path()
    subversion/libsvn_fs_fs/tree.c:open_path()

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

Received on 2011-02-10 19:46:21 CET

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.