public override void BeginUpdateSilently() { // Skip this folder if update or commit is in progress foreach (ScmRepositoryProcess sp in scmFolderProcesses) { if (sp.repository.Path == Path) { return; } } // updateRevision = GetRepositoryCommitedRevision(); ExecuteResult er = ExecuteProcess(Config.GitPath, Path, "pull --all", false, false); Config.WriteLog("Git", String.Format("pull -all \"{0}\"", Path)); scmFolderProcesses.Add(new ScmRepositoryProcess(this, er.process, true)); }
public override void BeginUpdateSilently() { // Skip this folder if update or commit is in progress foreach (ScmRepositoryProcess sp in svnFolderProcesses) { if (sp.repository.Path == Path) { return; } } string arguments = "pull"; ExecuteResult er = ExecuteProcess(Config.GitPath, Path, arguments, false, false); Config.WriteLog("Git", arguments); svnFolderProcesses.Add(new ScmRepositoryProcess(this, er.process, false)); }
public override void BeginUpdateSilently() { // Skip this folder if update or commit is in progress foreach (ScmRepositoryProcess sp in svnFolderProcesses) { if (sp.repository.Path == Path) { return; } } updateRevision = GetRepositoryCommitedRevision(); string arguments = String.Format("update --non-interactive \"{0}\"", Path); ExecuteResult er = ExecuteProcess(Config.GitPath, null, arguments, false, false); Config.WriteLog("Svn", arguments); svnFolderProcesses.Add(new ScmRepositoryProcess(this, er.process, true)); }
private static void FatalError(Exception e) { ShowError(e.ToString()); Config.WriteLog("Error", e.ToString()); }