tests/test-persistent-nodemap.t
changeset 44796 d36283e20833
parent 44795 059c99af141d
child 44799 ea9563e9e65a
equal deleted inserted replaced
44795:059c99af141d 44796:d36283e20833
     8   > [devel]
     8   > [devel]
     9   > persistent-nodemap=yes
     9   > persistent-nodemap=yes
    10   > EOF
    10   > EOF
    11   $ hg init test-repo
    11   $ hg init test-repo
    12   $ cd test-repo
    12   $ cd test-repo
    13   $ hg debugbuilddag .+5000 --new-file --config "experimental.exp-persistent-nodemap.mode=warn"
    13   $ hg debugbuilddag .+5000 --new-file --config "storage.revlog.nodemap.mode=warn"
    14   persistent nodemap in strict mode without efficient method (no-rust no-pure !)
    14   persistent nodemap in strict mode without efficient method (no-rust no-pure !)
    15   persistent nodemap in strict mode without efficient method (no-rust no-pure !)
    15   persistent nodemap in strict mode without efficient method (no-rust no-pure !)
    16   $ hg debugnodemap --metadata
    16   $ hg debugnodemap --metadata
    17   uid: ???????????????? (glob)
    17   uid: ???????????????? (glob)
    18   tip-rev: 5000
    18   tip-rev: 5000
    97   $ echo foo > foo
    97   $ echo foo > foo
    98   $ hg add foo
    98   $ hg add foo
    99 
    99 
   100 #if no-pure no-rust
   100 #if no-pure no-rust
   101 
   101 
   102   $ hg ci -m 'foo' --config "experimental.exp-persistent-nodemap.mode=strict"
   102   $ hg ci -m 'foo' --config "storage.revlog.nodemap.mode=strict"
   103   transaction abort!
   103   transaction abort!
   104   rollback completed
   104   rollback completed
   105   abort: persistent nodemap in strict mode without efficient method
   105   abort: persistent nodemap in strict mode without efficient method
   106   [255]
   106   [255]
   107 
   107