Reputation: 171
I am building a web application to check files and folders existance in SVN repository, I have to access to the repository structure and search files in subdirs. Access is through network. NB : There is no local connection to svn respository, it's a web application. I am using sharpSVN, I found a way to access to local repository but not through a network. Any solutions ?
Upvotes: 2
Views: 1742
Reputation: 151594
SharpSvn has various clients. You seem to be using SvnWorkingCopyClient
, which requires a local working copy.
You're looking for just SvnClient
:
var client = new SvnClient();
SvnInfoEventArgs info;
client.GetInfo(targetUri, out info);
Now you can read your info from info
.
Upvotes: 3