On 4 Nov 2011, at 20:21, Bert Huijben wrote: > > >> -----Original Message----- >> From: Barry Scott [mailto:ba...@barrys-emacs.org] >> Sent: vrijdag 4 november 2011 19:57 >> To: Bert Huijben >> Cc: 'Subversion Development' >> Subject: Re: svn_wc_adm_probe_open3 fails on windows >> >> >> On 4 Nov 2011, at 11:10, Bert Huijben wrote: >> >>> >>> >>>> -----Original Message----- >>>> From: Barry Scott [mailto:ba...@barrys-emacs.org] >>>> Sent: vrijdag 4 november 2011 12:06 >>>> To: Subversion Development >>>> Subject: svn_wc_adm_probe_open3 fails on windows >>>> >>>> I know that you have marked svn_wc_adm_probe_open3 as deprecated >>>> however I assume you expect it to still work. And it does on >>>> Mac OS X. >>>> >>>> When called like this: >>>> >>>> svn_error_t *error = svn_wc_adm_probe_open3( &adm_access, >> NULL, >>>> norm_path.c_str(), false, 0, NULL, NULL, pool ); >>>> >>>> Where norm_path is: >>>> >>>> B:\wc2\test\file1.txt >>> >>> Did you really pass this value? >> >> That is what was returned from svn_dirent_canonicalize() that is what >> I should use on paths? >> >> I input b:\wc2\test\file1.txt and get back B:\wc2\test\file1.txt > > I think you want to use svn_dirent_internal_style() for this use case. See > the documentation on top of svn_dirent_uri.h for more details.
That works using svn_dirent_internal_style(). Is this a matter I just had to ask or should I have picked up a clue in the API that I needed to use this function and not svn_dirent_canonicalize()? The descriptions in the header seem to just ask for "path". Barry