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