Plugins/VcsPlugins/vcsMercurial/FetchExtension/fetch.py

changeset 1067
1a6dd77e6413
parent 1066
a3dd41fd9ea8
child 1087
fb8cd56819a9
diff -r a3dd41fd9ea8 -r 1a6dd77e6413 Plugins/VcsPlugins/vcsMercurial/FetchExtension/fetch.py
--- a/Plugins/VcsPlugins/vcsMercurial/FetchExtension/fetch.py	Sat May 28 11:20:25 2011 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/FetchExtension/fetch.py	Sat May 28 12:57:01 2011 +0200
@@ -42,13 +42,14 @@
         Public method to fetch changes from a remote repository.
         
         @param name file/directory name (string)
+        @return flag indicating that the project should be reread (boolean)
         """
         # find the root of the repo
         repodir = self.vcs.splitPath(name)[0]
         while not os.path.isdir(os.path.join(repodir, self.vcs.adminDir)):
             repodir = os.path.dirname(repodir)
             if repodir == os.sep:
-                return
+                return False
         
         res = False
         dlg = HgFetchDialog()

eric ide

mercurial