comparison mercurial/tags.py @ 51700:7f0cb9ee0534

Backout accidental publication of a large range of revisions I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 23 Jul 2024 10:02:46 +0200
parents 493034cc3265
children ca7bde5dbafb
comparison
equal deleted inserted replaced
51699:bd1483fd7088 51700:7f0cb9ee0534
599 599
600 # Tag names in the cache are in UTF-8 -- which is the whole reason 600 # Tag names in the cache are in UTF-8 -- which is the whole reason
601 # we keep them in UTF-8 throughout this module. If we converted 601 # we keep them in UTF-8 throughout this module. If we converted
602 # them local encoding on input, we would lose info writing them to 602 # them local encoding on input, we would lose info writing them to
603 # the cache. 603 # the cache.
604 for name, (node, hist) in sorted(cachetags.items()): 604 for (name, (node, hist)) in sorted(cachetags.items()):
605 for n in hist: 605 for n in hist:
606 cachefile.write(b"%s %s\n" % (hex(n), name)) 606 cachefile.write(b"%s %s\n" % (hex(n), name))
607 cachefile.write(b"%s %s\n" % (hex(node), name)) 607 cachefile.write(b"%s %s\n" % (hex(node), name))
608 608
609 try: 609 try: