Quantcast
Channel: svn2svn Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 15

Created Issue: Possible bug in add [8478]

$
0
0
Hi,

I think the condition "if (! File.Exists(targetPath))" in SvnCopy.cs does not handle the directory additions. Should this condition be something like

FileAttributes attr = File.GetAttributes(targetPath)
if ((((attr & FileAttributes.Directory) != FileAttributes.Directory) && !File.Exists(targetPath)) || (((attr & FileAttributes.Directory) == FileAttributes.Directory) && !Directory.Exists(targetPath)))

Regards,
Prasad P. Khandekar

Viewing all articles
Browse latest Browse all 15

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>