I have some 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 'Dir2 is not a working copy' error.
However, if I commit them one by one in a loop, it commits fine. Apparently, svn signature exists for the Data and Tools folders but not for the Dir2 folder.
Any ideas on how to do a batch commit ?
Edit: More info: If I select Dir2 via tortoise svn, I do not see the 'svn commit' option but if I select 'Data' and 'Tools' together with my mouse on the right hand side of my windows explorer, I can see the 'svn commit' option.
There's no real solution to you problem. What you're seeing is correct behavior of both tools. TortoiseSvn will commit Data and Tools in a loop when you go ahead and do that. SharpSvn only offers the Commit(ICollection)
overload to commit multiple files within the same working copy. In your case Data and Tools are separate working copies (from what I understand so far).