##// END OF EJS Templates
tests: add test demonstrating buggy path handling...
Gregory Szorc -
r31798:8c9178d6 stable
parent child Browse files
Show More
@@ -310,3 +310,37 b' old store should be backed up'
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 ..
General Comments 0
You need to be logged in to leave comments. Login now