SharpSVN path issue

There is a problem with the SharpSVN verification code (1.5 and 1.6). (Note, I also have Tortoise 1.5 installed on my machine)

The same code worked earlier, so I don’t know why something could break.

using (SvnClient client = new SvnClient())
{
    SvnUriTarget url = new SvnUriTarget(checkoutURL.ToString());
    client.Authentication.DefaultCredentials = new NetworkCredential(userName, password);
    return client.CheckOut(url, destinationPath, out result); //error happens here
}

This code pulls a copy from SVN. It creates a copy in a directory called Sandbox.

Nothing has changed (except for my own system configuration, I will do it in a minute), but now I get an error message:

SharpSvn.SvnException: 
Can't open file '..\..\..\TestHarness\Sandbox\testBuild\Trunk\TestProjects\XX\Source\XX.TestHarness\Tests\Service\_svn\tmp\text-base\IViewProject_Tester.cs.svn-base':
 The system cannot find the path specified.

Now this is crazy. It used to go down. That he told me to start "Cleaning", hints that there was a working copy!

In addition, you can also see that SharpSVN believes that the .cs file is inside the _svn directory!

.. Tortoise 1.5 ( Tortoise 1.6, , .. ..

.net, Tortoise _svn

? .

+3

Source: https://habr.com/ru/post/1712911/


All Articles