##// END OF EJS Templates
test-command-template: enable for Windows
Adrian Buehlmann -
r16917:bebe376b default
parent child Browse files
Show More
@@ -1,5 +1,3
1 $ "$TESTDIR/hghave" unix-permissions || exit 80
2
3 1 $ hg init a
4 2 $ cd a
5 3 $ echo a > a
@@ -444,11 +442,13 Test xml styles:
444 442
445 443 Error if style not readable:
446 444
445 #if unix-permissions
447 446 $ touch q
448 447 $ chmod 0 q
449 448 $ hg log --style ./q
450 449 abort: Permission denied: ./q
451 450 [255]
451 #endif
452 452
453 453 Error if no style:
454 454
@@ -466,13 +466,15 Error if style missing key:
466 466 Error if include fails:
467 467
468 468 $ echo 'changeset = q' >> t
469 #if unix-permissions
469 470 $ hg log --style ./t
470 471 abort: template file ./q: Permission denied
471 472 [255]
473 $ rm q
474 #endif
472 475
473 476 Include works:
474 477
475 $ rm q
476 478 $ echo '{rev}' > q
477 479 $ hg log --style ./t
478 480 8
General Comments 0
You need to be logged in to leave comments. Login now