Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

stable tagadd: reverse list of tags

Like other dialogs do.

Changeset 73942531f4cd

Parent 8fd3cc10d275

by Yuki KODAMA

Changes to one file · Browse files at 73942531f4cd Showing diff from parent 8fd3cc10d275 Diff from another changeset...

 
97
98
99
100
 
101
102
103
 
 
 
104
105
 
106
107
108
 
97
98
99
 
100
101
 
 
102
103
104
105
 
106
107
108
109
@@ -97,12 +97,13 @@
  self.tagcombo.get_model().clear()     # add tags to drop-down list - tags = [x[0] for x in self.repo.tagslist()] + tags = list(self.repo.tags())   tags.sort() - for tagname in tags: - if tagname == 'tip': + tags.reverse() + for tag in tags: + if tag == 'tip':   continue - self.tagcombo.append_text(hglib.toutf(tagname)) + self.tagcombo.append_text(hglib.toutf(tag))     # clear tag input   if clear: