Esempio n. 1
0
        private static void ThrowIfFailed(SystemProcess process)
        {
            if (process.WasSuccessful)
                return;

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