--- a/Plugins/VcsPlugins/vcsMercurial/GpgExtension/gpg.py Wed Sep 14 19:46:36 2011 +0200 +++ b/Plugins/VcsPlugins/vcsMercurial/GpgExtension/gpg.py Thu Sep 15 18:28:26 2011 +0200 @@ -62,7 +62,7 @@ repodir = self.vcs.splitPath(path)[0] while not os.path.isdir(os.path.join(repodir, self.vcs.adminDir)): repodir = os.path.dirname(repodir) - if repodir == os.sep: + if os.path.splitdrive(repodir)[1] == os.sep: return if rev is None: @@ -99,7 +99,7 @@ repodir = self.vcs.splitPath(path)[0] while not os.path.isdir(os.path.join(repodir, self.vcs.adminDir)): repodir = os.path.dirname(repodir) - if repodir == os.sep: + if os.path.splitdrive(repodir)[1] == os.sep: return if self.vcs.isExtensionActive("bookmarks"):