Show More
@@ -377,27 +377,38 b' source, the copy source took the content' | |||
|
377 | 377 | renamelimit config option works |
|
378 | 378 | |
|
379 | 379 | $ cd git-repo2 |
|
380 | $ cp bar bar-copy0 | |
|
381 | $ echo 0 >> bar-copy0 | |
|
382 | $ cp bar bar-copy1 | |
|
383 | $ echo 1 >> bar-copy1 | |
|
384 | $ git add bar-copy0 bar-copy1 | |
|
385 | $ commit -a -m 'copy bar 2 times' | |
|
380 | $ cat >> copy-source << EOF | |
|
381 | > sc0 | |
|
382 | > sc1 | |
|
383 | > sc2 | |
|
384 | > sc3 | |
|
385 | > sc4 | |
|
386 | > sc5 | |
|
387 | > sc6 | |
|
388 | > EOF | |
|
389 | $ git add copy-source | |
|
390 | $ commit -m 'add copy-source' | |
|
391 | $ cp copy-source source-copy0 | |
|
392 | $ echo 0 >> source-copy0 | |
|
393 | $ cp copy-source source-copy1 | |
|
394 | $ echo 1 >> source-copy1 | |
|
395 | $ git add source-copy0 source-copy1 | |
|
396 | $ commit -a -m 'copy copy-source 2 times' | |
|
386 | 397 | $ cd .. |
|
387 | 398 | |
|
388 | 399 | $ hg -q convert --config convert.git.renamelimit=1 \ |
|
389 | 400 | > --config convert.git.findcopiesharder=true --datesort git-repo2 fullrepo2 |
|
390 | 401 | $ hg -R fullrepo2 status -C --change master |
|
391 |
A |
|
|
392 |
A |
|
|
402 | A source-copy0 | |
|
403 | A source-copy1 | |
|
393 | 404 | |
|
394 | 405 | $ hg -q convert --config convert.git.renamelimit=100 \ |
|
395 | 406 | > --config convert.git.findcopiesharder=true --datesort git-repo2 fullrepo3 |
|
396 | 407 | $ hg -R fullrepo3 status -C --change master |
|
397 |
A |
|
|
398 | bar | |
|
399 |
A |
|
|
400 | bar | |
|
408 | A source-copy0 | |
|
409 | copy-source | |
|
410 | A source-copy1 | |
|
411 | copy-source | |
|
401 | 412 | |
|
402 | 413 | test binary conversion (issue1359) |
|
403 | 414 |
General Comments 0
You need to be logged in to leave comments.
Login now