# HG changeset patch # User Matt Harbison # Date 1435809848 14400 # Node ID eb15c5be381cd9a34937c67b9a7846e20e896add # Parent 5b9b70635423532b569afce266290b9c724ee9f0 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 - 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... diff -r 5b9b70635423 -r eb15c5be381c tests/test-convert-git.t --- a/tests/test-convert-git.t Wed Jul 01 20:53:12 2015 -0400 +++ b/tests/test-convert-git.t Thu Jul 02 00:04:08 2015 -0400 @@ -463,7 +463,7 @@ $ cat >> .gitmodules < [submodule "git-repo5"] > path = git-repo5 - > url = $TESTTMP/git-repo5 + > url = git-repo5 > EOF $ git commit -q -a -m "weird white space submodule" $ cd ..