mercurial/debugcommands.py
changeset 44350 e80da7a63264
parent 44336 8374b69aef75
child 44363 f7459da77f23
equal deleted inserted replaced
44349:cd43cae79f25 44350:e80da7a63264
  3496     """display the contents of .hg/cache/hgtagsfnodes1"""
  3496     """display the contents of .hg/cache/hgtagsfnodes1"""
  3497     cache = tagsmod.hgtagsfnodescache(repo.unfiltered())
  3497     cache = tagsmod.hgtagsfnodescache(repo.unfiltered())
  3498     for r in repo:
  3498     for r in repo:
  3499         node = repo[r].node()
  3499         node = repo[r].node()
  3500         tagsnode = cache.getfnode(node, computemissing=False)
  3500         tagsnode = cache.getfnode(node, computemissing=False)
  3501         tagsnodedisplay = hex(tagsnode) if tagsnode else 'missing/invalid'
  3501         tagsnodedisplay = hex(tagsnode) if tagsnode else b'missing/invalid'
  3502         ui.write(b'%s %s %s\n' % (r, hex(node), tagsnodedisplay))
  3502         ui.write(b'%d %s %s\n' % (r, hex(node), tagsnodedisplay))
  3503 
  3503 
  3504 
  3504 
  3505 @command(
  3505 @command(
  3506     b'debugtemplate',
  3506     b'debugtemplate',
  3507     [
  3507     [