tests/test-upgrade-repo.t
branchstable
changeset 31798 8c9178d647f7
parent 30781 f2c069bf78ee
child 31799 8110d49e0558
equal deleted inserted replaced
31797:0b913e1e725b 31798:8c9178d647f7
   308   undo.backup.fncache
   308   undo.backup.fncache
   309   undo.backupfiles
   309   undo.backupfiles
   310   undo.phaseroots
   310   undo.phaseroots
   311 
   311 
   312   $ cd ..
   312   $ cd ..
       
   313 
       
   314 store files with special filenames aren't encoded during copy
       
   315 
       
   316   $ hg init store-filenames
       
   317   $ cd store-filenames
       
   318   $ touch foo
       
   319   $ hg -q commit -A -m initial
       
   320   $ touch .hg/store/.XX_special_filename
       
   321 
       
   322   $ hg debugupgraderepo --run
       
   323   upgrade will perform the following actions:
       
   324   
       
   325   requirements
       
   326      preserved: dotencode, fncache, generaldelta, revlogv1, store
       
   327   
       
   328   beginning upgrade...
       
   329   repository locked and read-only
       
   330   creating temporary repository to stage migrated data: $TESTTMP/store-filenames/.hg/upgrade.* (glob)
       
   331   (it is safe to interrupt this process any time before data migration completes)
       
   332   migrating 3 total revisions (1 in filelogs, 1 in manifests, 1 in changelog)
       
   333   migrating 109 bytes in store; 107 bytes tracked data
       
   334   migrating 1 filelogs containing 1 revisions (0 bytes in store; 0 bytes tracked data)
       
   335   finished migrating 1 filelog revisions across 1 filelogs; change in size: 0 bytes
       
   336   migrating 1 manifests containing 1 revisions (46 bytes in store; 45 bytes tracked data)
       
   337   finished migrating 1 manifest revisions across 1 manifests; change in size: 0 bytes
       
   338   migrating changelog containing 1 revisions (63 bytes in store; 62 bytes tracked data)
       
   339   finished migrating 1 changelog revisions; change in size: 0 bytes
       
   340   finished migrating 3 total revisions; total change in store size: 0 bytes
       
   341   copying .XX_special_filename
       
   342   removing temporary repository $TESTTMP/store-filenames/.hg/upgrade.* (glob)
       
   343   abort: No such file or directory: $TESTTMP/store-filenames/.hg/store/~2e_x_x__special__filename
       
   344   [255]
       
   345 
       
   346   $ cd ..