Mercurial > hg
view tests/test-up-issue1456 @ 11294:7b5d05e0fb1e
shrink-revlog: use util.mktempcopy() to preserve mode of index file.
(There's still a chmod() call to manually preserve the mode of the
data file.)
author | Greg Ward <greg-hg@gerg.ca> |
---|---|
date | Thu, 03 Jun 2010 10:18:33 -0400 |
parents | f331de880cbb |
children |
line wrap: on
line source
#!/bin/sh rm -rf a hg init a cd a echo foo > foo hg ci -qAm0 chmod +x foo hg ci -m1 hg co -q 0 echo dirty > foo hg up -c hg up -q cat foo hg st -A echo '% validate update of standalone execute bit change' hg up -C 0 chmod -x foo hg ci -m removeexec hg up -C 0 hg up hg st