subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Sperling <s...@elego.de>
Subject Re: svn_client_revert2 skips files for no obvious reasons
Date Mon, 05 Dec 2011 15:39:47 GMT
On Mon, Dec 05, 2011 at 04:23:10PM +0100, Roman Kellner wrote:
> > What paths are you actually passing in the 'paths' array?
> 
> D:\NewFolder\iec61131\ProjectName\SCC\@POE@OriginalFilename.ZIP
> D:\NewFolder\iec61131\ProjectName\SCC\@POE@OriginalFilenameRENAMED.ZIP
> 
> > 
> > Are you passing absolute paths? 
> 
> Yes.
> 
> > Are you canonicalising the paths properly?
> 
> We are not doing extra things to the paths, but I would guess that the path 
> as above already is canonicalized. Wrong?

The paths are not canonical. Subversion always uses forward slashes
internally. Run the paths through svn_dirent_internal_style() and it
should work. This function will replace backslashes with forward slashes
and also canonicalise the paths.

Mime
View raw message