comparison tests/test-execute-bit @ 5482:7ceb740f2fef

See if execute bit is honoured when we go back in time
author Bryan O'Sullivan <bos@serpentine.com>
date Fri, 26 Oct 2007 16:43:13 -0700
parents
children
comparison
equal deleted inserted replaced
5481:04f033a03b1d 5482:7ceb740f2fef
1 #!/bin/sh
2
3 hg init
4 echo a > a
5 hg ci -d'0 0' -Am'not executable'
6
7 chmod +x a
8 hg ci -d'1 0' -m'executable'
9 hg id
10
11 hg up 0
12 hg id
13 test -x a && echo executable -- eek || echo not executable -- whew