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

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