Plugins/VcsPlugins/vcsMercurial/hg.py

changeset 3260
37bbdfba30bc
parent 3256
1a43351889d5
child 3276
1b7002ea389d
--- 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,

eric ide

mercurial