##// END OF EJS Templates
hgweb: Sort tags by revision number
mpm@selenic.com -
r183:76791667 default
parent child Browse files
Show More
@@ -512,7 +512,10 b' class hgweb:'
512 512
513 513 self.repo.lookup(0) # prime the cache
514 514 i = self.repo.tags.items()
515 i.sort()
515 n = [ (cl.rev(e[1]), e) for e in i ] # sort by revision
516 n.sort()
517 n.reverse()
518 i = [ e[1] for e in n ]
516 519
517 520 def entries():
518 521 parity = 0
General Comments 0
You need to be logged in to leave comments. Login now