Beispiel #1
0
        private static Process Start(string args, string workingDirectory)
        {
            while (!Directory.Exists(workingDirectory) && workingDirectory.Length > 0)
            {
                workingDirectory = workingDirectory.Substring(0, workingDirectory.LastIndexOf('\\'));
            }

            return(ProcessLauncher.StartTortoiseHg(args, workingDirectory));
        }
Beispiel #2
0
 private static string[] Run(string args, string workingDirectory)
 {
     return(ProcessLauncher.RunHg(args, workingDirectory));
 }
Beispiel #3
0
 static TortoiseHg()
 {
     Version = ProcessLauncher.RunTortoiseHg("version", "").FirstOrDefault();
 }
Beispiel #4
0
 static Hg()
 {
     Version = ProcessLauncher.RunHg("version", "").FirstOrDefault();
 }