Mercurial > hg-stable
view tests/test-fncache @ 8370:45ed015b524e
allow toggling when the cursor is on the correct line instead of just the filename text in hg-commit-toggle-file
author | Jonathan Kotta <jpkotta@packetdigital.com> |
---|---|
date | Wed, 13 May 2009 13:07:43 -0500 |
parents | 6c82beaaa11a |
children | c31fe74a6633 |
line wrap: on
line source
#!/bin/sh echo "% init repo1" hg init repo1 cd repo1 echo echo "% add a; ci" echo "some text" > a hg add hg ci -m first echo echo "% cat .hg/store/fncache" cat .hg/store/fncache echo echo "% add a.i/b; ci" mkdir a.i echo "some other text" > a.i/b hg add hg ci -m second echo echo "% cat .hg/store/fncache" cat .hg/store/fncache echo echo "% add a.i.hg/c; ci" mkdir a.i.hg echo "yet another text" > a.i.hg/c hg add hg ci -m third echo echo "% cat .hg/store/fncache" cat .hg/store/fncache echo echo "% hg verify" hg verify echo echo "% rm .hg/store/fncache" rm .hg/store/fncache echo echo "% hg verify" hg verify exit 0