Megacannon
Megacannon

Reputation: 138

How do I get SVN version from SharpSVN?

The question is simple. I've using SharpSVN in a C# WinForms application. My users have problems when the version of SVN is below 1.8. How can I determine the version of SVN they're using so I can give them a warning that the application won't work?

Upvotes: 1

Views: 282

Answers (2)

Bert Huijben
Bert Huijben

Reputation: 19612

All recent Subversion minor releases included a new version of the working copy format. So your application's SharpSvn version should match the working copy of the users' other Subversion clients.

If you just want your users Working copy to upgrade to your version of the library you can use SvnClient.Upgrade() to upgrade existing working copies.

But once you upgraded a working copy of a user, their other Subversion clients (based on older versions) won't be able to read the working copy until they are also upgraded.

Upvotes: 1

d.lavysh
d.lavysh

Reputation: 1504

You can try to look in: sharpsvn

Upvotes: 0

Related Questions