branch | stable |
changeset 13505 | 9b617c56eb65 |
parent 13504 | 85840c4ae2ad |
child 13519 | 43b3b761d9d1 |
child 13621 | c0b0b00f0279 |
--- a/tests/test-eol.t Mon Feb 28 11:34:51 2011 +0100 +++ b/tests/test-eol.t Mon Feb 28 15:46:48 2011 +0100 @@ -426,3 +426,17 @@ foo bar baz + +Test handling of a broken .hgeol file: + + $ touch .hgeol + $ hg add .hgeol + $ hg commit -m 'clean version' + $ echo "bad" > .hgeol + $ hg status + warning: ignoring .hgeol file due to parse error at .hgeol:1: bad + M .hgeol + $ hg revert .hgeol + warning: ignoring .hgeol file due to parse error at .hgeol:1: bad + $ hg status + ? .hgeol.orig