Fixed an issue where long incoming patchsets were not shown completely.

Mon, 27 Dec 2010 18:35:46 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 27 Dec 2010 18:35:46 +0100
changeset 779
04c3a6026543
parent 777
f0f24d2f9eab
child 783
2c59c7893d30

Fixed an issue where long incoming patchsets were not shown completely.

Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py file | annotate | diff | comparison | revisions
--- a/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Mon Dec 27 17:21:59 2010 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Mon Dec 27 18:35:46 2010 +0100
@@ -79,6 +79,10 @@
         self.limitSpinBox.setValue(self.vcs.getPlugin().getPreferences("LogLimit"))
         self.stopCheckBox.setChecked(self.vcs.getPlugin().getPreferences("StopLogOnCopy"))
         
+        if mode in ("incoming", "outgoing"):
+            self.nextButton.setEnabled(False)
+            self.limitSpinBox.setEnabled(False)
+        
         self.__messageRole = Qt.UserRole
         self.__changesRole = Qt.UserRole + 1
         self.__edgesRole   = Qt.UserRole + 2
@@ -497,8 +501,9 @@
         self.vcs.addArguments(args, self.vcs.options['global'])
         self.vcs.addArguments(args, self.vcs.options['log'])
         args.append('--verbose')
-        args.append('--limit')
-        args.append(str(self.limitSpinBox.value()))
+        if self.commandMode not in ("incoming", "outgoing"):
+            args.append('--limit')
+            args.append(str(self.limitSpinBox.value()))
         if self.commandMode in ("incoming", "outgoing"):
             args.append("--newest-first")
         if startRev is not None:

eric ide

mercurial