5053
5053
tags.sort(key=lambda x: timestamps[x[1]])
5055
5055
# [ (tag, revid), ... ] -> [ (tag, dotted_revno), ... ]
5057
tags = [ (tag, '.'.join(map(str, revno_map.get(revid, ('?',)))))
5059
5066
for tag, revspec in tags:
5060
5067
self.outf.write('%-20s %s\n' % (tag, revspec))