private void GitGetCommitsCommandExited(object sender, EventArgs e)
{
_isLoading = false;
if (_revisionGraphCommand.RevisionCount == 0 &&
!FilterIsApplied(true))
{
// This has to happen on the UI thread
this.InvokeAsync(o =>
{
NoGit.Visible = false;
NoCommits.Visible = true;
//NoCommits.BringToFront();
Revisions.Visible = false;
Loading.Visible = false;
}, this);
}
else
{
// This has to happen on the UI thread
this.InvokeAsync(o =>
{
UpdateGraph(null);
Loading.Visible = false;
SelectInitialRevision();
_isLoading = false;
if (ShowBuildServerInfo)
BuildServerWatcher.LaunchBuildServerInfoFetchOperation();
}, this);
}
DisposeRevisionGraphCommand();
}