Fixed an issue in the Mercurial interface that caused extension info refresh to fail. 5_4_x

Mon, 24 Feb 2014 19:13:16 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 24 Feb 2014 19:13:16 +0100
branch
5_4_x
changeset 3303
b2e91e2b4115
parent 3301
337e119a3bdf
child 3323
b55fcd897118

Fixed an issue in the Mercurial interface that caused extension info refresh to fail.

Plugins/VcsPlugins/vcsMercurial/hg.py file | annotate | diff | comparison | revisions
--- a/Plugins/VcsPlugins/vcsMercurial/hg.py	Sun Feb 23 19:16:32 2014 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/hg.py	Mon Feb 24 19:13:16 2014 +0100
@@ -3173,8 +3173,6 @@
         
         @param path name of the changed file (string)
         """
-        self.__getExtensionsInfo()
-        
         if self.__client:
             ok, err = self.__client.restartServer()
             if not ok:
@@ -3185,6 +3183,8 @@
                         """<p>The Mercurial Command Server could not be"""
                         """ restarted.</p><p>Reason: {0}</p>""").format(err))
                 self.__client = None
+        
+        self.__getExtensionsInfo()
     
     def __monitorRepoIniFile(self, name):
         """

eric ide

mercurial