Plugins/VcsPlugins/vcsGit/git.py

changeset 6891
93f82da09f22
parent 6707
30f0ac20df50
--- a/Plugins/VcsPlugins/vcsGit/git.py	Thu Mar 21 19:26:10 2019 +0100
+++ b/Plugins/VcsPlugins/vcsGit/git.py	Thu Mar 21 19:27:42 2019 +0100
@@ -817,7 +817,7 @@
         while not os.path.isdir(os.path.join(repodir, self.adminDir)):
             repodir = os.path.dirname(repodir)
             if os.path.splitdrive(repodir)[1] == os.sep:
-                return
+                return False
         
         args = self.initCommand("reset")
         args.append("HEAD")
@@ -1525,7 +1525,7 @@
         while not os.path.isdir(os.path.join(repodir, self.adminDir)):
             repodir = os.path.dirname(repodir)
             if os.path.splitdrive(repodir)[1] == os.sep:
-                return
+                return False
         
         args = self.initCommand("cat-file")
         args.append("blob")
@@ -1797,7 +1797,7 @@
         while not os.path.isdir(os.path.join(repodir, self.adminDir)):
             repodir = os.path.dirname(repodir)
             if os.path.splitdrive(repodir)[1] == os.sep:
-                return
+                return False
         
         args = self.initCommand("merge")
         args.append("--abort")
@@ -1922,7 +1922,7 @@
         while not os.path.isdir(os.path.join(repodir, self.adminDir)):
             repodir = os.path.dirname(repodir)
             if os.path.splitdrive(repodir)[1] == os.sep:
-                return
+                return False
         
         from .GitTagDialog import GitTagDialog
         dlg = GitTagDialog(self.gitGetTagsList(repodir), revision, tagName)

eric ide

mercurial