Fixed an issue in the Mercurial plug-in.

Tue, 16 Aug 2011 15:52:12 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 16 Aug 2011 15:52:12 +0200
changeset 1212
058fc9ffb0d9
parent 1211
a91a47f2f5e6
child 1213
5d4e67e59ed3

Fixed an issue in the Mercurial plug-in.

Plugins/VcsPlugins/vcsMercurial/hg.py file | annotate | diff | comparison | revisions
--- a/Plugins/VcsPlugins/vcsMercurial/hg.py	Fri Jul 29 19:01:14 2011 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/hg.py	Tue Aug 16 15:52:12 2011 +0200
@@ -2249,7 +2249,7 @@
         repodir = dname
         while not os.path.isdir(os.path.join(repodir, self.adminDir)):
             repodir = os.path.dirname(repodir)
-            if repodir == os.sep:
+            if not repodir or repodir == os.sep:
                 return
         
         cfgFile = os.path.join(repodir, self.adminDir, "hgrc")

eric ide

mercurial