Plugins/VcsPlugins/vcsMercurial/hg.py

changeset 660
7a1d92437921
parent 564
b3d966393ba9
child 694
d482fc1249b0
--- a/Plugins/VcsPlugins/vcsMercurial/hg.py	Thu Oct 07 21:27:08 2010 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/hg.py	Fri Oct 08 08:42:18 2010 +0200
@@ -1298,6 +1298,8 @@
         Public method used to pull changes from a remote Mercurial repository.
         
         @param name directory name of the project to be pulled to (string)
+        @return flag indicating, that the update contained an add
+            or delete (boolean)
         """
         args = []
         args.append('pull')
@@ -1319,6 +1321,7 @@
             dia.exec_()
             res = dia.hasAddOrDelete()
         self.checkVCSStatus()
+        return res
     
     def hgPush(self, name, force = False):
         """
@@ -2038,4 +2041,4 @@
         @param interval check interval for the monitor thread in seconds (integer)
         @return reference to the monitor thread (QThread)
         """
-        return HgStatusMonitorThread(interval, project, self)
\ No newline at end of file
+        return HgStatusMonitorThread(interval, project, self)

eric ide

mercurial