tests/test-persistent-nodemap.t
changeset 44334 6614b301ea58
parent 44333 50ad851efd9b
child 44335 e41a164db7a9
equal deleted inserted replaced
44333:50ad851efd9b 44334:6614b301ea58
    10   > exp-persistent-nodemap=yes
    10   > exp-persistent-nodemap=yes
    11   > [devel]
    11   > [devel]
    12   > persistent-nodemap=yes
    12   > persistent-nodemap=yes
    13   > EOF
    13   > EOF
    14   $ hg debugbuilddag .+5000
    14   $ hg debugbuilddag .+5000
       
    15   $ hg debugnodemap --metadata
       
    16   uid: ???????????????? (glob)
    15   $ f --size .hg/store/00changelog.n
    17   $ f --size .hg/store/00changelog.n
    16   .hg/store/00changelog.n: size=18
    18   .hg/store/00changelog.n: size=18
    17   $ f --sha256 .hg/store/00changelog-*.nd
    19   $ f --sha256 .hg/store/00changelog-*.nd
    18   .hg/store/00changelog-????????????????.nd: sha256=b961925120e1c9bc345c199b2cc442abc477029fdece37ef9d99cbe59c0558b7 (glob)
    20   .hg/store/00changelog-????????????????.nd: sha256=b961925120e1c9bc345c199b2cc442abc477029fdece37ef9d99cbe59c0558b7 (glob)
    19   $ hg debugnodemap --dump-new | f --sha256 --size
    21   $ hg debugnodemap --dump-new | f --sha256 --size
    45   $ hg up
    47   $ hg up
    46   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
    48   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
    47   $ echo foo > foo
    49   $ echo foo > foo
    48   $ hg add foo
    50   $ hg add foo
    49   $ hg ci -m 'foo'
    51   $ hg ci -m 'foo'
       
    52   $ hg debugnodemap --metadata
       
    53   uid: ???????????????? (glob)
    50   $ f --size .hg/store/00changelog.n
    54   $ f --size .hg/store/00changelog.n
    51   .hg/store/00changelog.n: size=18
    55   .hg/store/00changelog.n: size=18
    52 
    56 
    53 (The pure code use the debug code that perform incremental update, the C code reencode from scratch)
    57 (The pure code use the debug code that perform incremental update, the C code reencode from scratch)
    54 
    58