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

hglib: add util function to get filtered tags in repo

Changeset bb5202598d98

Parent 0cfdd9b3a5bd

by Yuki KODAMA

Changes to one file · Browse files at bb5202598d98 Showing diff from parent 0cfdd9b3a5bd Diff from another changeset...

 
119
120
121
 
 
 
 
 
 
 
 
122
123
124
 
119
120
121
122
123
124
125
126
127
128
129
130
131
132
@@ -119,6 +119,14 @@
  _hidetags = taglist   return _hidetags   +def getfilteredtags(repo): + filtered = [] + hides = gethidetags(repo.ui) + for tag in list(repo.tags()): + if tag not in hides: + filtered.append(tag) + return filtered +  def diffexpand(line):   'Expand tabs in a line of diff/patch text'   if _tabwidth is None: