AmpScm / SharpSvn

Subversion wrapped for .Net 4.0+ and .Net Core
Apache License 2.0
60 stars 19 forks source link

Repository file changes #49

Closed 563256676 closed 2 years ago

563256676 commented 2 years ago

I want to get a list of file changes through SharpSvn, is there any way I can monitor file changes in the repository? For example add, delete, rename, conflict.

rhuijben commented 2 years ago

Subversion -unlike git- has a clear distinction between a repository and a working copy. Conflicts can only happen on the client side, as server sides conflicts are a commit error.

You can see clientside status using SvnClient.Status() / .GetStatus().

Server side you can analyze the history/changes using .Log()/.GetLog().

See some examples for this in the C# test projects in this repository, and there are quite a few examples on the StackOverflow site.

As this request is not an issue, I'll close this issue in the issuetracker.