Show More
@@ -245,14 +245,16 b' class localrepository(repo.repository):' | |||
|
245 | 245 | # taking precedence |
|
246 | 246 | heads = self.heads() |
|
247 | 247 | heads.reverse() |
|
248 | fl = self.file(".hgtags") | |
|
248 | seen = {} | |
|
249 | 249 | for node in heads: |
|
250 | 250 | f = self.filectx('.hgtags', node) |
|
251 | if not f: continue | |
|
251 | if not f or f.filerev() in seen: continue | |
|
252 | seen[f.filerev()] = 1 | |
|
252 | 253 | count = 0 |
|
253 | 254 | for l in f.data().splitlines(): |
|
254 | 255 | count += 1 |
|
255 | 256 | parsetag(l, _("%s, line %d") % (str(f), count)) |
|
257 | ||
|
256 | 258 | try: |
|
257 | 259 | f = self.opener("localtags") |
|
258 | 260 | count = 0 |
General Comments 0
You need to be logged in to leave comments.
Login now