We are having intermittent occurances of TeamCity builds that fail to pull the most recent revision (HEAD) from Mercurial. Deleting the TC's cloned repo, which forces TC to do a fresh checkout, fixes the problem.
What is really strange is that if we login to the TC server and use the Mercurial command line to find the most recent revision in the cloned repo, we find the expected revision which is always a few revs newer than what TC keeps building.
Any ideas what would cause this? This is causing us a lot of headaches since it tends to popup at all the wrong times (i.e. when we are trying to build hotfixes!).