tests/test-template-map.t
branchstable
changeset 50320 adecb1ab4a0d
parent 48876 42d2b31cee0b
child 50725 7e5be4a7cda7
equal deleted inserted replaced
50304:862969b6c359 50320:adecb1ab4a0d
  1258 
  1258 
  1259 #if unix-permissions no-root
  1259 #if unix-permissions no-root
  1260   $ touch q
  1260   $ touch q
  1261   $ chmod 0 q
  1261   $ chmod 0 q
  1262   $ hg log --style ./q
  1262   $ hg log --style ./q
  1263   abort: Permission denied: './q'
  1263   abort: $EACCES$: './q'
  1264   [255]
  1264   [255]
  1265 #endif
  1265 #endif
  1266 
  1266 
  1267 Error if no style:
  1267 Error if no style:
  1268 
  1268 
  1307 Error if include fails:
  1307 Error if include fails:
  1308 
  1308 
  1309   $ echo 'changeset = q' >> t
  1309   $ echo 'changeset = q' >> t
  1310 #if unix-permissions no-root
  1310 #if unix-permissions no-root
  1311   $ hg log --style ./t
  1311   $ hg log --style ./t
  1312   abort: template file ./q: Permission denied
  1312   abort: template file ./q: $EACCES$
  1313   [255]
  1313   [255]
  1314   $ rm -f q
  1314   $ rm -f q
  1315 #endif
  1315 #endif
  1316 
  1316 
  1317 Include works:
  1317 Include works: