Mercurial > hg
comparison tests/test-permissions @ 5519:b688d264a294
test-permissions: add a chmod +w to allow the directory to be removed
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Fri, 09 Nov 2007 20:21:35 -0200 |
parents | 74723744d8e0 |
children | 6f750e76fb46 |
comparison
equal
deleted
inserted
replaced
5518:d0a022d5871e | 5519:b688d264a294 |
---|---|
11 chmod +r .hg/store/data/a.i | 11 chmod +r .hg/store/data/a.i |
12 hg verify 2>/dev/null || echo verify failed | 12 hg verify 2>/dev/null || echo verify failed |
13 chmod -w .hg/store/data/a.i | 13 chmod -w .hg/store/data/a.i |
14 echo barber > a | 14 echo barber > a |
15 hg commit -m "2" -d "1000000 0" 2>/dev/null || echo commit failed | 15 hg commit -m "2" -d "1000000 0" 2>/dev/null || echo commit failed |
16 chmod -w ../t | 16 chmod -w . |
17 hg diff --nodates | 17 hg diff --nodates |
18 chmod +w . |