c# - How to programatically do file versioning with SVN and .NET? -


We have a report generator daily, it writes its data in an Excel file.

Due to the version control and file security reasons, we have to change this file, and make the change in a repository.

Do you use any .NET SVN API?

You should take a look at this. Net Library You will probably need to checkout and reduce the commands:

Check out:

  string wcpath = "c: \\ my working copy"; (SvnClient Client = New SvnClient ()) is using {client.CheckOut (new uriy ("http: // server / path / to / repos"), wcPath); }  

commit:

  string wcpath = "c: \\ copy my work"; SvnCommitArgs = a new SvnCommitArgs (); A.LogMessage = "My Log Message"; (Using SvnClient Client = New SVNClient ()) {client.Commit (wcPath, a); }  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -