Fixed a bug in the Mercurial status dialog introduced with the largefiles support.

Tue, 04 Mar 2014 18:28:29 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 04 Mar 2014 18:28:29 +0100
changeset 3326
b4868bd56338
parent 3325
d2d6dda86d32
child 3327
1338767b5315

Fixed a bug in the Mercurial status dialog introduced with the largefiles support.

Plugins/VcsPlugins/vcsMercurial/HgStatusDialog.py file | annotate | diff | comparison | revisions
--- a/Plugins/VcsPlugins/vcsMercurial/HgStatusDialog.py	Mon Mar 03 19:27:11 2014 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgStatusDialog.py	Tue Mar 04 18:28:29 2014 +0100
@@ -597,8 +597,10 @@
         # TODO: set status of menu entries according to their conditions
         if self.vcs.isExtensionActive("largefiles"):
             enable = len(self.__getUnversionedItems()) > 0
-            for act in self.lfActions:
-                act.setEnabled(enable)
+        else:
+            enable = False
+        for act in self.lfActions:
+            act.setEnabled(enable)
         self.menu.popup(self.mapToGlobal(coord))
     
     def __commit(self):

eric ide

mercurial