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

RE: svn_wc_adm_probe_open3 fails on windows

From: Bert Huijben <bert_at_qqmail.nl>
Date: Fri, 4 Nov 2011 12:10:02 +0100

> -----Original Message-----
> From: Barry Scott [mailto:barry_at_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?

All Subversion api's (except for a few that explicitly document otherwise)
assume that you pass canonical paths.

The canonical path for this path is B:/wc2/test/file1.txt

> I get this error:
> cmd_info: svn_wc_adm_probe_open error 02C02290
> 'B:' is not a working copy

This might be what you get when you pass B:filename, which is what you do
when you use '\' separators.

> Barry
Received on 2011-11-04 12:10:41 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.