Plugins/VcsPlugins/vcsSubversion/subversion.py

changeset 1267
5eddb59304c7
parent 1112
8a7d1b9d18db
child 1268
4fc337f391c9
--- a/Plugins/VcsPlugins/vcsSubversion/subversion.py	Fri Sep 02 08:35:45 2011 +0200
+++ b/Plugins/VcsPlugins/vcsSubversion/subversion.py	Sat Sep 03 16:41:44 2011 +0200
@@ -756,9 +756,15 @@
         
         @param name file/directory name to show the log of (string)
         """
-        self.log = SvnLogDialog(self)
-        self.log.show()
-        self.log.start(name)
+        noEntries, ok = QInputDialog.getInteger(
+            None,
+            self.trUtf8("Subversion Log"),
+            self.trUtf8("Select number of entries to show."),
+            self.getPlugin().getPreferences("LogLimit"), 1, 999999, 1)
+        if ok:
+            self.log = SvnLogDialog(self)
+            self.log.show()
+            self.log.start(name, noEntries)
         
     def vcsDiff(self, name):
         """
@@ -1566,23 +1572,6 @@
             QApplication.processEvents()
             self.diff.start(name, urls=urls, summary=summary)
         
-    def svnLogLimited(self, name):
-        """
-        Public method used to view the (limited) log of a file/directory from the
-        Subversion repository.
-        
-        @param name file/directory name to show the log of (string)
-        """
-        noEntries, ok = QInputDialog.getInteger(
-            None,
-            self.trUtf8("Subversion Log"),
-            self.trUtf8("Select number of entries to show."),
-            self.getPlugin().getPreferences("LogLimit"), 1, 999999, 1)
-        if ok:
-            self.log = SvnLogDialog(self)
-            self.log.show()
-            self.log.start(name, noEntries)
-        
     def svnLogBrowser(self, path):
         """
         Public method used to browse the log of a file/directory from the

eric ide

mercurial