Skip to content

SVN update command not working in ASP.NET

Sreenath GV

Asked Apr 10, 2012, 3:45 AM EDT1 answer
Share
LinkedInX
 

Hi,

Subversion (SVN) command update or checkout is not working with me. Please look at following code, any suggestion here please…

C#
  System.Diagnostics.Process myprocess = new System.Diagnostics.Process();

                myprocess.StartInfo.WorkingDirectory = @"c:\"; ;
                myprocess.StartInfo.UseShellExecute = false;
                myprocess.StartInfo.FileName = "cmd.exe";
                myprocess.StartInfo.Arguments = "svn update " + lStrDetinationPath;
                myprocess.StartInfo.CreateNoWindow = false;
                myprocess.StartInfo.RedirectStandardInput = true;
                myprocess.StartInfo.RedirectStandardOutput = true;
                myprocess.StartInfo.RedirectStandardError = true;
                myprocess.Start();

 

Any help plz..need solution asap

 

Thanks

Srenath

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Senthilkumar
    0
    Hi Sreenath,

    Are you getting any error?

    did you check the path is correct or not.

    If you get any error message then post it here.
    0