Show More
@@ -290,10 +290,9 b' class localrepository(repo.repository):' | |||||
290 | globaltags[k] = an, ah |
|
290 | globaltags[k] = an, ah | |
291 | tagtypes[k] = tagtype |
|
291 | tagtypes[k] = tagtype | |
292 |
|
292 | |||
293 | def tagctxs(): |
|
|||
294 |
|
|
293 | seen = set() | |
295 |
|
|
294 | f = None | |
296 |
|
|
295 | ctxs = [] | |
297 |
|
|
296 | for node in self.heads(): | |
298 |
|
|
297 | try: | |
299 |
|
|
298 | fnode = self[node].filenode('.hgtags') | |
@@ -305,11 +304,10 b' class localrepository(repo.repository):' | |||||
305 |
|
|
304 | f = self.filectx('.hgtags', fileid=fnode) | |
306 |
|
|
305 | else: | |
307 |
|
|
306 | f = f.filectx(fnode) | |
308 |
|
|
307 | ctxs.append(f) | |
309 | return reversed(ret) |
|
|||
310 |
|
308 | |||
311 | # read the tags file from each head, ending with the tip |
|
309 | # read the tags file from each head, ending with the tip | |
312 |
for f in |
|
310 | for f in reversed(ctxs): | |
313 | readtags(f.data().splitlines(), f, "global") |
|
311 | readtags(f.data().splitlines(), f, "global") | |
314 |
|
312 | |||
315 | try: |
|
313 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now