3

I am writing a c# app that needs to look at a folder and get a list of files that need to be committed. Tortoise SVN is guaranteed to be installed on the machine. How can I get that list programmatically?

Mr Bell
  • 9,228
  • 18
  • 84
  • 134

3 Answers3

4

I don't think that TortoiseSVN can help you with this, but it should not be too much effort doing it yourself using a C# SVN library.

Take a look at this question: Does anyone know of a good C# API for Subversion?.

Community
  • 1
  • 1
Jon
  • 428,835
  • 81
  • 738
  • 806
0

call svn.exe status and capture and parse the output

Matt Lacey
  • 65,560
  • 11
  • 91
  • 143
0

I don't believe TortoiseSVN has an API that allows external applications to retrieve information from it, which is what you would need to do this properly. The best you can do with what is provided is use the SubWCRev command-line utility to determine if any local modifications exist in a given working copy.

Bernard
  • 7,908
  • 2
  • 36
  • 33