Доработки

This commit is contained in:
Danil Kislov
2019-03-12 10:36:33 +03:00
parent 9f3a913acb
commit 77e7f5d750
2 changed files with 4 additions and 0 deletions
@@ -2,6 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Windows.Forms;
using JiraTimeBotForm.Configuration; using JiraTimeBotForm.Configuration;
using Mercurial; using Mercurial;
@@ -32,6 +33,7 @@ namespace JiraTimeBotForm.TaskTime
{ {
continue; continue;
} }
Application.DoEvents();
var repo = new Repository(repoDirectory); var repo = new Repository(repoDirectory);
var log = repo.Log(new LogCommand {Date = date, Users = { settings.MercurialAuthorEmail } }); var log = repo.Log(new LogCommand {Date = date, Users = { settings.MercurialAuthorEmail } });
@@ -49,6 +51,7 @@ namespace JiraTimeBotForm.TaskTime
workTasks.Add(changeset.Branch); workTasks.Add(changeset.Branch);
_log?.Trace($" - Найден changeset: {changeset.Timestamp} - {changeset.Branch} - {changeset.AuthorEmailAddress}"); _log?.Trace($" - Найден changeset: {changeset.Timestamp} - {changeset.Branch} - {changeset.AuthorEmailAddress}");
Application.DoEvents();
} }
} }
+1
View File
@@ -131,6 +131,7 @@ namespace JiraTimeBotForm
return; return;
} }
txtDummyMode.Checked = false;
DoTheJob(); DoTheJob();
} }
} }