tests/test-fncache.t
branchstable
changeset 42715 f59f8a5e9096
parent 42714 6b71334f2540
child 44355 7a4e1d245f19
equal deleted inserted replaced
42714:6b71334f2540 42715:f59f8a5e9096
   433 
   433 
   434   $ cat .hg/store/fncache | sort
   434   $ cat .hg/store/fncache | sort
   435   data/.bar.i
   435   data/.bar.i
   436   data/foo.i
   436   data/foo.i
   437 
   437 
   438 debugrebuildfncache fails to recover from truncated line in fncache
   438 debugrebuildfncache recovers from truncated line in fncache
   439 
   439 
   440   $ printf a > .hg/store/fncache
   440   $ printf a > .hg/store/fncache
   441   $ hg debugrebuildfncache
   441   $ hg debugrebuildfncache
   442   abort: fncache does not ends with a newline
   442   fncache does not ends with a newline
   443   (use 'hg debugrebuildfncache' to rebuild the fncache)
   443   adding data/.bar.i
   444   [255]
   444   adding data/foo.i
   445 
   445   2 items added, 0 removed from fncache
   446   $ cat .hg/store/fncache | sort
   446 
   447   a
   447   $ cat .hg/store/fncache | sort
       
   448   data/.bar.i
       
   449   data/foo.i
   448 
   450 
   449   $ cd ..
   451   $ cd ..
   450 
   452 
   451 Try a simple variation without dotencode to ensure fncache is ignorant of encoding
   453 Try a simple variation without dotencode to ensure fncache is ignorant of encoding
   452 
   454