tests/test-branches.t
changeset 24372 577f65cf1a57
parent 23862 7aa1405528a3
child 24378 9347c15d8136
equal deleted inserted replaced
24371:8a997bd73448 24372:577f65cf1a57
   545   0030: 58 97 36 a2 00 00 00 03 10 ff 58 95 00 00 00 04 |X.6.......X.....|
   545   0030: 58 97 36 a2 00 00 00 03 10 ff 58 95 00 00 00 04 |X.6.......X.....|
   546   0040: ee bb 94 44 00 00 00 02 5f 40 61 bb 00 00 00 02 |...D...._@a.....|
   546   0040: ee bb 94 44 00 00 00 02 5f 40 61 bb 00 00 00 02 |...D...._@a.....|
   547   0050: bf be 84 1b 00 00 00 02 d3 f1 63 45 80 00 00 02 |..........cE....|
   547   0050: bf be 84 1b 00 00 00 02 d3 f1 63 45 80 00 00 02 |..........cE....|
   548   0060: e3 d4 9c 05 80 00 00 02 e2 3b 55 05 00 00 00 02 |.........;U.....|
   548   0060: e3 d4 9c 05 80 00 00 02 e2 3b 55 05 00 00 00 02 |.........;U.....|
   549   0070: f8 94 c2 56 80 00 00 03                         |...V....|
   549   0070: f8 94 c2 56 80 00 00 03                         |...V....|
       
   550 
       
   551 #if unix-permissions no-root
       
   552 no errors when revbranchcache is not writable
       
   553 
       
   554   $ echo >> .hg/cache/rbc-revs-v1
       
   555   $ chmod a-w .hg/cache/rbc-revs-v1
       
   556   $ rm -f .hg/cache/branch* && hg head a -T '{rev}\n'
       
   557   5
       
   558   $ chmod a+w .hg/cache/rbc-revs-v1
       
   559 #endif
       
   560 
   550 recovery from invalid cache revs file with trailing data
   561 recovery from invalid cache revs file with trailing data
   551   $ echo >> .hg/cache/rbc-revs-v1
   562   $ echo >> .hg/cache/rbc-revs-v1
   552   $ rm -f .hg/cache/branch* && hg head a -T '{rev}\n' --debug
   563   $ rm -f .hg/cache/branch* && hg head a -T '{rev}\n' --debug
   553   truncating cache/rbc-revs-v1 to 120
   564   truncating cache/rbc-revs-v1 to 120
   554   5
   565   5