--- a/Plugins/VcsPlugins/vcsMercurial/hg.py Sun Feb 02 18:42:51 2014 +0100 +++ b/Plugins/VcsPlugins/vcsMercurial/hg.py Wed Feb 05 19:09:29 2014 +0100 @@ -373,8 +373,8 @@ """ status = self.vcsCheckout(vcsDataDict, projectDir) shutil.rmtree(os.path.join(projectDir, self.adminDir), True) - if os.path.exists(os.path.join(projectDir, '.hgignore')): - os.remove(os.path.join(projectDir, '.hgignore')) + if os.path.exists(os.path.join(projectDir, Hg.IgnoreFileName)): + os.remove(os.path.join(projectDir, Hg.IgnoreFileName)) return status def vcsCommit(self, name, message, noDialog=False, closeBranch=False,