mercurial/tags.py
branchstable
changeset 19646 335a558f81dc
parent 19108 cb95716da5fe
child 21030 9ea132aee96c
equal deleted inserted replaced
19644:bd5c1b49d106 19646:335a558f81dc
   288     # we keep them in UTF-8 throughout this module.  If we converted
   288     # we keep them in UTF-8 throughout this module.  If we converted
   289     # them local encoding on input, we would lose info writing them to
   289     # them local encoding on input, we would lose info writing them to
   290     # the cache.
   290     # the cache.
   291     cachefile.write('\n')
   291     cachefile.write('\n')
   292     for (name, (node, hist)) in cachetags.iteritems():
   292     for (name, (node, hist)) in cachetags.iteritems():
       
   293         for n in hist:
       
   294             cachefile.write("%s %s\n" % (hex(n), name))
   293         cachefile.write("%s %s\n" % (hex(node), name))
   295         cachefile.write("%s %s\n" % (hex(node), name))
   294 
   296 
   295     try:
   297     try:
   296         cachefile.close()
   298         cachefile.close()
   297     except (OSError, IOError):
   299     except (OSError, IOError):