##// END OF EJS Templates
mq: pop/refresh: avoid losing revisions not managed by mq...
mq: pop/refresh: avoid losing revisions not managed by mq We already disallow committing on top of an mq revision exactly to avoid losing this new revision during a qpop/qrefresh, so this can be seen as an additional safety check. If this is not enough to fix issue844, it should at least prevent it from happening.

File last commit:

r5495:363ba35f default
r5980:dcda0c90 default
Show More
test-execute-bit
13 lines | 193 B | text/plain | TextLexer
#!/bin/sh
hg init
echo a > a
hg ci -d'0 0' -Am'not executable'
chmod +x a
hg ci -d'1 0' -m'executable'
hg id
hg up 0
hg id
test -x a && echo executable -- eek || echo not executable -- whew