equal
deleted
inserted
replaced
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): |