Check if a file is changed in SVN C#

  • Thread starter Thread starter Carlo Goretti
  • Start date Start date
C

Carlo Goretti

Guest
Hey!

Im trying to check if a subversioned file is changed but i cant get it to work.. I want to make the check so i can check in the new things if there is any.. Any ideas? I want to se if anything is changed in a file..

private void LaddaHittaErsätt_Click(object sender, EventArgs e)
{
files = Directory.GetFiles(KundMapp, "*.sql", SearchOption.AllDirectories);
SvnStatusArgs sa = new SvnStatusArgs();
sa.Depth = SvnDepth.Empty; // Adjust this to check direct files, or (recursive) directories etc
foreach (string f in files)
{


Collection<SvnStatusEventArgs> statuses;
client.GetStatus(f, sa, out statuses);
MessageBox.Show(client.GetStatus(KundMapp, sa, out statuses).ToString());
}
Best Regards

Continue reading...
 
Back
Top