How to add a file to a ChangeList

1

I want to add files to changelist "ignore-on-commit". I have this code, which executes, not the error. (But it also does not work: v)

using(SvnClient client = new SvnClient())
{
   string sSoluctionDir = args[1].Remove(0, 1);
   var pes = Directory.GetFiles(sSoluctionDir, "AssemblyInfo.cs", SearchOption.AllDirectories);
   for (int i = 0; i < pes.Length; i++)
   {
   SvnAddToChangeListArgs a = new SvnAddToChangeListArgs();
   client.AddToChangeList(pes[i], "ignore-on-commit", a);
   }

}
    
asked by anonymous 13.04.2015 / 19:44

0 answers