private void FetchRemote(bool stopOnFailMergeCommit, IGitTfsRemote remote) { stdout.WriteLine("Fetching from TFS remote '{0}'...", remote.Id); DoFetch(remote, stopOnFailMergeCommit); if (labels != null && FetchLabels) { stdout.WriteLine("Fetching labels from TFS remote '{0}'...", remote.Id); labels.Run(remote); } }
private void FetchRemote(bool stopOnFailMergeCommit, IGitTfsRemote remote) { Trace.TraceInformation("Fetching from TFS remote '{0}'...", remote.Id); DoFetch(remote, stopOnFailMergeCommit); if (_labels != null && FetchLabels) { Trace.TraceInformation("Fetching labels from TFS remote '{0}'...", remote.Id); _labels.Run(remote); } }
public int Run(params string[] args) { authors.Parse(AuthorsFilePath, globals.GitDir); foreach (var remote in GetRemotesToFetch(args)) { Trace.WriteLine("Fetching from TFS remote " + remote.Id); DoFetch(remote); if (labels != null && FetchLabels) { Trace.WriteLine("Fetching labels from TFS remote " + remote.Id); labels.Run(remote); } } return(0); }