This doesn't happen all the time, but when it does it breaks our build. I don't know what causes it to happen when it does. Here is the relevant code:
var Repo = new Mercurial.Repository(RepoPath);
var Since = DateTime.Now.AddHours(-1);
var Commits = Repo.Log().Where(x => x.Timestamp > Since).ToList();
It fails on the third line. I found
from last year relating to this exception but his code wasn't relevant and I can't seem to find any way to set a timeout in my code. Also the solution provided seems like more of a work-around. Should it really be taking this long?