Well, thatβs why, after I submitted SSHing to the server and used the svn command-line client instead of remote desktop (not much tbh idea), my boss and I decided that it would be better if we could update each project from one local web pages (this is only for our development server). Now, I got it to work (once), however it often does not.
I am using the following code:
ProcessStartInfo start = new ProcessStartInfo("C:\Program Files (x86)\CollabNet\Subversion Client\svn.exe", "update " + UpdatePath);
start.RedirectStandardOutput = true;
start.UseShellExecute = false;
start.ErrorDialog = false;
start.CreateNoWindow = true;
start.WindowStyle = ProcessWindowStyle.Hidden;
Process process = Process.Start(start);
StreamReader output = process.StandardOutput;
string text = output.ReadToEnd();
process.WaitForExit();
Response.Write(text + "<br />" + UpdatePath);
in theory, this should collect the output from the svn application and write it to the page, however it is not (if only in the rare case when it is really updated, however it is not so when I especially need a way out!)
Can anyone spot the problem?