Why does SharpSVN SvnClient.Export (...) not always find the files that should be there?

I use the Export () member function to retrieve files for certain versions that work, but for some reason in other cases it is not. For all the paths changed, it seems to work, but with deleted and sometimes added files in this revision, I get an exception stating that there is no file in the URL used. When I use TurtoiseSVNs “Copy Revision to ...” on these paths, it works fine, and I'm just wondering if something is missing with SharpSVN, I would like the full versions to be available when reviewing all changed files. Here is a general idea of ​​my code:

if (logentry.ChangedPaths != null)
{
     foreach (SvnChangeItem svnChangeItem in logentry.ChangedPaths)
     {
         SvnExportArgs ex = new SvnExportArgs();
         ex.Revision = revisionNum;
         client.Export(SvnTarget.FromUri(new Uri(pathInsideRepo)), exportFile, ex);
     }
}

Any help or suggestions would be appreciated, thanks.

+5
2

, SvnUriTarget uri SvnExportArgs . , , .

:

client.Export(new SvnUriTarget(new Uri(pathInsideRepo), revisionNumber), exportFile, ex);

, ,

+2

. , , URL-, , . , URL-, , , , URL-. .

peg revisions svnbook.

+2

All Articles