SharpSVN combination of several targets gives error "-dir- not working copy"

I have files that I want to commit:

C: \ Dir1 \ Dir2 \ Data \ dfile1.txt

C: \ Dir1 \ Dir2 \ Tools \ tfile1.xml

When I try to use svnClient.Commit (ICollection) for the above paths, I get the error "Dir2 is not work copy".

However, if I fix them one after another in a cycle, he commits a penalty. Apparently, the svn signature exists for the Data and Tools folders, but not for the Dir2 folder.

Any ideas on how to do batch commit?

Edit: Additional information: If I select Dir2 using the svn tortoise, I do not see the "svn commit" parameter, but if I select "Data" and "Tools" along with my mouse on the right side of my Windows Explorer, I see the svn commit parameter .

+3
source share
1 answer

There is no real solution to the problem. What you see is the correct behavior of both tools. TortoiseSvn will loop data and tools when you do. SharpSvn only offers overloading Commit(ICollection)for transferring multiple files within the same working copy. In your case, Data and Tools are separate working copies (from what I understand so far).

+2
source

All Articles