# HG changeset patch # User Benoit Boissinot # Date 1187909548 -7200 # Node ID 551958d5082cbf21d8249fd8eccffb76c77603c6 # Parent b0bc8cf41ffc9eba6eda36ea986f56c7abaefa44 testcase for issue705 (fixed by 316ce5e85b3e) diff -r b0bc8cf41ffc -r 551958d5082c tests/test-permissions --- a/tests/test-permissions Fri Aug 24 00:39:16 2007 +0200 +++ b/tests/test-permissions Fri Aug 24 00:52:28 2007 +0200 @@ -1,6 +1,7 @@ #!/bin/sh -hg init +hg init t +cd t echo foo > a hg add a hg commit -m "1" -d "1000000 0" @@ -12,4 +13,5 @@ chmod -w .hg/store/data/a.i echo barber > a hg commit -m "2" -d "1000000 0" 2>/dev/null || echo commit failed - +chmod -w ../t +hg diff