comparison tests/test-tags.t @ 44290:d8b53385b1bc

tags: add a debug command to display .hg/cache/hgtagsfnodes1 Differential Revision: https://phab.mercurial-scm.org/D8093
author Valentin Gatien-Baron <vgatien-baron@janestreet.com>
date Fri, 07 Feb 2020 13:54:09 -0500
parents 9f45d3d526f9
children 89d44cfcdeeb
comparison
equal deleted inserted replaced
44289:9f8eddd2723f 44290:d8b53385b1bc
101 $ f --size --hexdump .hg/cache/hgtagsfnodes1 101 $ f --size --hexdump .hg/cache/hgtagsfnodes1
102 .hg/cache/hgtagsfnodes1: size=48 102 .hg/cache/hgtagsfnodes1: size=48
103 0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................| 103 0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
104 0010: ff ff ff ff ff ff ff ff b9 15 46 36 26 b7 b4 a7 |..........F6&...| 104 0010: ff ff ff ff ff ff ff ff b9 15 46 36 26 b7 b4 a7 |..........F6&...|
105 0020: 73 e0 9e e3 c5 2f 51 0e 19 e0 5e 1f f9 66 d8 59 |s..../Q...^..f.Y| 105 0020: 73 e0 9e e3 c5 2f 51 0e 19 e0 5e 1f f9 66 d8 59 |s..../Q...^..f.Y|
106 $ hg debugtagscache
107 0 acb14030fe0a21b60322c440ad2d20cf7685a376 missing/invalid
108 1 b9154636be938d3d431e75a7c906504a079bfe07 26b7b4a773e09ee3c52f510e19e05e1ff966d859
106 109
107 Repeat with cold tag cache: 110 Repeat with cold tag cache:
108 111
109 $ rm -f .hg/cache/tags2-visible .hg/cache/hgtagsfnodes1 112 $ rm -f .hg/cache/tags2-visible .hg/cache/hgtagsfnodes1
110 $ hg identify 113 $ hg identify