Problem with SVN status..

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

Carlo Goretti

Guest
Hey!

Im trying to use the SVNStatus but cant get it to work..


if (client.GetStatus(KundMapp, sa, out statuses) == true)
{
client.Add(KundMapp);
commitArgs.LogMessage = "Committat av " + ADName + " via Konverterings Program " + DateTime.Now.ToString();
client.Commit(KundMapp, commitArgs);
}
else
{

foreach (string f in files)
{
client.GetStatus(f, sa, out statuses);
foreach (SvnStatusEventArgs statusEventArgs2 in statuses)
{
if (statusEventArgs2.LocalContentStatus == SvnStatus.Modified)
{

//client.Add(KundMapp);
commitArgs.LogMessage = "Committat av " + ADName + " via Konverterings Program " + DateTime.Now.ToString();
client.Commit(f, commitArgs);
}

//client.Commit(f, commitArgs);
//client.Add(KundMapp);
//commitArgs.LogMessage = "Committat av " + ADName + " via Konverterings Program" + DateTime.Now.ToString();
}
}
}
Im trying to check if the folder is not commited. Then do onething. Otherwise commit in the modified files in the folder..

Continue reading...
 

Similar threads

Back
Top