Plugins/VcsPlugins/vcsMercurial/hg.py

branch
5_4_x
changeset 3303
b2e91e2b4115
parent 3301
337e119a3bdf
child 3384
4908a9d74fb5
--- 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