Im trying to commit some code with SVN client

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

Carlo Goretti

Guest
Cant use SVN client in code..


private void CreateBtn_Click(object sender, EventArgs e)
{

for (int i = 0; i < ÄndraFrånLista.Count; i++)
{
foreach (string f in files)
{
string content = File.ReadAllText(f);


if (content.ToLower().Contains(ÄndraFrånLista.Text) && ÄndraTillLista.Text != "")
{

content = Regex.Replace(content, ÄndraFrånLista.Text, ÄndraTillLista.Text, RegexOptions.IgnoreCase);
File.WriteAllText(f, content);

using (SvnClient client = new SvnClient())
{
client.Commit(KundMapp, a);
}

}
}
}

Any ideas what im doing wrong here?
"Kundmapp" is the folder path that i want to commit in.

Continue reading...
 

Similar threads

Back
Top