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

Path problem in prop_path_internal?

From: B. W. Fitzpatrick <fitz_at_red-bean.com>
Date: 2001-03-19 07:10:51 CET

The problem: proplist works from inside ../WORKING_COPY, but not from
./WORKING_COPY

The example:

    pantheon: ...tests$ ../svn proplist t1/iota
    lexicon : cryptonalysis
    ocean : atlantic
    bat : bandersnatch
    color : blue
    pantheon: ...tests$ cd t1
    pantheon: ...t1$ ../../svn proplist iota
    
    svn_error: #21015 svn_wc__prop_path: is not a working copy directory
    pantheon: ...t1$

By the way: This doesn't happen with directories, e.g. 't1/A'

I tracked this behavior down to prop_path_internal in adm_files.c. It
seems to have trouble when that function gets to svn_path_split and
winds up with a path of "".

So, should I look into fixing this in prop_path_internal or focus
efforts on canonicalize_path (which would obviate the need to do
anything to prop_path_internal as it would then do The Right Thing)?

-Fitz
Received on Sat Oct 21 14:36:26 2006

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