tests/test-lfs.t
changeset 44071 34e8305f02bd
parent 43822 76d32a0edbc6
child 44072 1a6dd50cd0db
equal deleted inserted replaced
44070:451d22174b5f 44071:34e8305f02bd
   794   getting s
   794   getting s
   795   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
   795   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
   796   $ test -f fromcorrupt/.hg/store/lfs/objects/66/100b384bf761271b407d79fc30cdd0554f3b2c5d944836e936d584b88ce88e
   796   $ test -f fromcorrupt/.hg/store/lfs/objects/66/100b384bf761271b407d79fc30cdd0554f3b2c5d944836e936d584b88ce88e
   797   [1]
   797   [1]
   798 
   798 
       
   799 Verify will not try to download lfs blobs, if told not to process lfs content
       
   800 
       
   801   $ hg -R fromcorrupt --config lfs.usercache=emptycache verify -v --no-lfs
       
   802   repository uses revlog format 1
       
   803   checking changesets
       
   804   checking manifests
       
   805   crosschecking files in changesets and manifests
       
   806   checking files
       
   807   checked 5 changesets with 10 changes to 4 files
       
   808 
       
   809 Verify will not try to download lfs blobs, if told not to by the config option
       
   810 
       
   811   $ hg -R fromcorrupt --config lfs.usercache=emptycache verify -v \
       
   812   >                   --config verify.skipflags=8192
       
   813   repository uses revlog format 1
       
   814   checking changesets
       
   815   checking manifests
       
   816   crosschecking files in changesets and manifests
       
   817   checking files
       
   818   checked 5 changesets with 10 changes to 4 files
       
   819 
   799 Verify will copy/link all lfs objects into the local store that aren't already
   820 Verify will copy/link all lfs objects into the local store that aren't already
   800 present.  Bypass the corrupted usercache to show that verify works when fed by
   821 present.  Bypass the corrupted usercache to show that verify works when fed by
   801 the (uncorrupted) remote store.
   822 the (uncorrupted) remote store.
   802 
   823 
   803   $ hg -R fromcorrupt --config lfs.usercache=emptycache verify -v
   824   $ hg -R fromcorrupt --config lfs.usercache=emptycache verify -v