tests/test-lfconvert.t
changeset 41180 69804c040a04
parent 40919 a0886a4d6dce
child 42565 4764e8436b2a
equal deleted inserted replaced
41179:77088fa862df 41180:69804c040a04
   355 Avoid a traceback if a largefile isn't available (issue3519)
   355 Avoid a traceback if a largefile isn't available (issue3519)
   356 
   356 
   357 Ensure the largefile can be cached in the source if necessary
   357 Ensure the largefile can be cached in the source if necessary
   358   $ hg clone -U largefiles-repo issue3519
   358   $ hg clone -U largefiles-repo issue3519
   359   $ rm -f "${USERCACHE}"/*
   359   $ rm -f "${USERCACHE}"/*
       
   360   $ hg -R issue3519 branch -q mybranch
       
   361   $ hg -R issue3519 ci -m 'change branch name only'
   360   $ hg lfconvert --to-normal issue3519 normalized3519
   362   $ hg lfconvert --to-normal issue3519 normalized3519
   361   initializing destination normalized3519
   363   initializing destination normalized3519
   362   4 additional largefiles cached
   364   4 additional largefiles cached
   363   scanning source...
   365   scanning source...
   364   sorting...
   366   sorting...
   365   converting...
   367   converting...
   366   7 add large, normal1
   368   8 add large, normal1
   367   6 add sub/*
   369   7 add sub/*
   368   5 rename sub/ to stuff/
   370   6 rename sub/ to stuff/
   369   4 add normal3, modify sub/*
   371   5 add normal3, modify sub/*
   370   3 remove large, normal3
   372   4 remove large, normal3
   371   2 merge
   373   3 merge
   372   1 add anotherlarge (should be a largefile)
   374   2 add anotherlarge (should be a largefile)
   373   0 Added tag mytag for changeset abacddda7028
   375   1 Added tag mytag for changeset abacddda7028
       
   376   0 change branch name only
       
   377 
       
   378 Ensure empty commits aren't lost in the conversion
       
   379   $ hg -R normalized3519 log -r tip -T '{desc}\n'
       
   380   change branch name only
   374 
   381 
   375 Ensure the abort message is useful if a largefile is entirely unavailable
   382 Ensure the abort message is useful if a largefile is entirely unavailable
   376   $ rm -rf normalized3519
   383   $ rm -rf normalized3519
   377   $ rm "${USERCACHE}"/*
   384   $ rm "${USERCACHE}"/*
   378   $ rm issue3519/.hg/largefiles/*
   385   $ rm issue3519/.hg/largefiles/*