예제 #1
0
파일: Shell.cs 프로젝트: bbyars/CM.NET
        private static void ThrowIfFailed(SystemProcess process)
        {
            if (process.WasSuccessful)
                return;

            throw new ApplicationException(process.ToString());
        }
예제 #2
0
 private void LogFailure(SystemProcess process)
 {
     log.Error(process.ToString());
     throw new Exception("svn command failed");
 }