comparison tests/test-convert-git.t @ 25722:eb15c5be381c

test-convert-git: use a relative gitmodule url The absolute URL was causing this error with 1.9.5 on Windows, which had a cascading effect: @@ -466,22 +466,24 @@ > url = $TESTTMP/git-repo5 > EOF $ git commit -a -m "weird white space submodule" - [master *] weird white space submodule (glob) - Author: nottest <test@example.org> - 1 file changed, 3 insertions(+) + fatal: bad config file line 6 in $TESTTMP/git-repo6/.gitmodules + [128] $ cd .. $ hg convert git-repo6 hg-repo6 initializing destination hg-repo6 repository scanning source... For reasons unknown, there is still this delta on Windows: @@ -490,7 +490,6 @@ $ git commit -q -m "missing .gitmodules" $ cd .. $ hg convert git-repo6 hg-repo6 --traceback - fatal: Path '.gitmodules' does not exist in '*' (glob) initializing destination hg-repo6 repository scanning source... sorting...
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 02 Jul 2015 00:04:08 -0400
parents 5b9b70635423
children f2748cc43b2a
comparison
equal deleted inserted replaced
25721:5b9b70635423 25722:eb15c5be381c
461 test non-tab whitespace .gitmodules 461 test non-tab whitespace .gitmodules
462 462
463 $ cat >> .gitmodules <<EOF 463 $ cat >> .gitmodules <<EOF
464 > [submodule "git-repo5"] 464 > [submodule "git-repo5"]
465 > path = git-repo5 465 > path = git-repo5
466 > url = $TESTTMP/git-repo5 466 > url = git-repo5
467 > EOF 467 > EOF
468 $ git commit -q -a -m "weird white space submodule" 468 $ git commit -q -a -m "weird white space submodule"
469 $ cd .. 469 $ cd ..
470 $ hg convert git-repo6 hg-repo6 470 $ hg convert git-repo6 hg-repo6
471 initializing destination hg-repo6 repository 471 initializing destination hg-repo6 repository