tests/test-permissions.t
changeset 12640 6cc4b14fb76b
parent 12376 97ffc68f71d3
child 15443 a1914d214579
equal deleted inserted replaced
12639:236058a65cb4 12640:6cc4b14fb76b
    18   $ hg verify
    18   $ hg verify
    19   checking changesets
    19   checking changesets
    20   checking manifests
    20   checking manifests
    21   crosschecking files in changesets and manifests
    21   crosschecking files in changesets and manifests
    22   checking files
    22   checking files
    23   abort: Permission denied: * (glob)
    23   abort: Permission denied: $TESTTMP/t/.hg/store/data/a.i
    24   [255]
    24   [255]
    25 
    25 
    26   $ chmod +r .hg/store/data/a.i
    26   $ chmod +r .hg/store/data/a.i
    27 
    27 
    28   $ hg verify
    28   $ hg verify
    35   $ chmod -w .hg/store/data/a.i
    35   $ chmod -w .hg/store/data/a.i
    36 
    36 
    37   $ echo barber > a
    37   $ echo barber > a
    38   $ hg commit -m "2"
    38   $ hg commit -m "2"
    39   trouble committing a!
    39   trouble committing a!
    40   abort: Permission denied: * (glob)
    40   abort: Permission denied: $TESTTMP/t/.hg/store/data/a.i
    41   [255]
    41   [255]
    42 
    42 
    43   $ chmod -w .
    43   $ chmod -w .
    44 
    44 
    45   $ hg diff --nodates
    45   $ hg diff --nodates