##// END OF EJS Templates
tests: change branches test to work cross platform...
timeless -
r28145:cfa00374 default
parent child Browse files
Show More
@@ -544,15 +544,15 b' revision branch cache is created when bu'
544 0060: e3 d4 9c 05 80 00 00 02 e2 3b 55 05 00 00 00 02 |.........;U.....|
544 0060: e3 d4 9c 05 80 00 00 02 e2 3b 55 05 00 00 00 02 |.........;U.....|
545 0070: f8 94 c2 56 80 00 00 03 |...V....|
545 0070: f8 94 c2 56 80 00 00 03 |...V....|
546
546
547 #if unix-permissions no-root
548 no errors when revbranchcache is not writable
547 no errors when revbranchcache is not writable
549
548
550 $ echo >> .hg/cache/rbc-revs-v1
549 $ echo >> .hg/cache/rbc-revs-v1
551 $ chmod a-w .hg/cache/rbc-revs-v1
550 $ mv .hg/cache/rbc-revs-v1 .hg/cache/rbc-revs-v1_
551 $ mkdir .hg/cache/rbc-revs-v1
552 $ rm -f .hg/cache/branch* && hg head a -T '{rev}\n'
552 $ rm -f .hg/cache/branch* && hg head a -T '{rev}\n'
553 5
553 5
554 $ chmod a+w .hg/cache/rbc-revs-v1
554 $ rmdir .hg/cache/rbc-revs-v1
555 #endif
555 $ mv .hg/cache/rbc-revs-v1_ .hg/cache/rbc-revs-v1
556
556
557 recovery from invalid cache revs file with trailing data
557 recovery from invalid cache revs file with trailing data
558 $ echo >> .hg/cache/rbc-revs-v1
558 $ echo >> .hg/cache/rbc-revs-v1
General Comments 0
You need to be logged in to leave comments. Login now