Corrected some forgotten sort calls.

Sun, 05 Dec 2010 18:02:46 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 05 Dec 2010 18:02:46 +0100
changeset 737
63a55933bdf3
parent 736
d2433b433793
child 739
efbfe57c8219

Corrected some forgotten sort calls.

Plugins/VcsPlugins/vcsPySvn/SvnUrlSelectionDialog.py file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py file | annotate | diff | comparison | revisions
--- a/Plugins/VcsPlugins/vcsPySvn/SvnUrlSelectionDialog.py	Sun Dec 05 17:59:48 2010 +0100
+++ b/Plugins/VcsPlugins/vcsPySvn/SvnUrlSelectionDialog.py	Sun Dec 05 18:02:46 2010 +0100
@@ -78,11 +78,11 @@
                 reposURL = reposURL.replace(path, '')
             self.repoRootLabel1.hide()
             self.typeCombo1.hide()
-            self.labelCombo1.addItems([reposURL] + self.vcs.tagsList)
+            self.labelCombo1.addItems([reposURL] + sorted(self.vcs.tagsList))
             self.labelCombo1.setEnabled(True)
             self.repoRootLabel2.hide()
             self.typeCombo2.hide()
-            self.labelCombo2.addItems([reposURL] + self.vcs.tagsList)
+            self.labelCombo2.addItems([reposURL] + sorted(self.vcs.tagsList))
             self.labelCombo2.setEnabled(True)
         
     def __changeLabelCombo(self, labelCombo, type_):
--- a/Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py	Sun Dec 05 17:59:48 2010 +0100
+++ b/Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py	Sun Dec 05 18:02:46 2010 +0100
@@ -77,11 +77,11 @@
                 reposURL = reposURL.replace(path, '')
             self.repoRootLabel1.hide()
             self.typeCombo1.hide()
-            self.labelCombo1.addItems([reposURL] + self.vcs.tagsList)
+            self.labelCombo1.addItems([reposURL] + sorted(self.vcs.tagsList))
             self.labelCombo1.setEnabled(True)
             self.repoRootLabel2.hide()
             self.typeCombo2.hide()
-            self.labelCombo2.addItems([reposURL] + self.vcs.tagsList)
+            self.labelCombo2.addItems([reposURL] + sorted(self.vcs.tagsList))
             self.labelCombo2.setEnabled(True)
         
     def __changeLabelCombo(self, labelCombo, type_):

eric ide

mercurial