##// END OF EJS Templates
create the encode and decode functions for the store
create the encode and decode functions for the store

File last commit:

r2223:b7256206 default
r3852:8a9a1a7e default
Show More
test-permissions
15 lines | 320 B | text/plain | TextLexer
#!/bin/sh
hg init
echo foo > a
hg add a
hg commit -m "1" -d "1000000 0"
hg verify
chmod -r .hg/data/a.i
hg verify 2>/dev/null || echo verify failed
chmod +r .hg/data/a.i
hg verify 2>/dev/null || echo verify failed
chmod -w .hg/data/a.i
echo barber > a
hg commit -m "2" -d "1000000 0" 2>/dev/null || echo commit failed