title: Getting Cannot find mercurial executable at path 'hg'
body: <p>I am using VCS checkout mode to agent side and also have defined the teamcity.hg.agent.path = c:\program files\mercurial\hg.exe in agent.properties file. Still VCS is not picking up this setting and giving me the following error:-</p>
  
  <pre><code>Test connection failed in Dev :: Stocks :: Build and Package. Cannot find mercurial executable at path 'hg'
  </code></pre>
  
  <p>Also have defined the path in windows environment variables. Mercurial is not installed on server machine. I have read in documentation that if you are using a agent side checkout then not required. Please guide what I am missing here.
  thanks</p>