branch | stable |
changeset 13475 | c7bef25ca393 |
parent 12943 | 7439ea4146f8 |
child 13503 | 5007ff32f356 |
--- a/tests/test-eol.t Thu Feb 24 19:15:00 2011 +0100 +++ b/tests/test-eol.t Fri Feb 25 12:32:15 2011 +0100 @@ -383,3 +383,18 @@ % hg commit % hg status $ rm -r mixed + +Test issue2569 -- eol extension takes write lock on reading: + + $ echo '[extensions]' >> $HGRCPATH + $ echo 'eol =' >> $HGRCPATH + $ hg init repo + $ cd repo + $ touch .hgeol + $ hg status + ? .hgeol + $ chmod -R -w .hg + $ sleep 1 + $ touch .hgeol + $ hg status --traceback + ? .hgeol