Mercurial > hg
changeset 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 | 2a8d8b4097c8 |
files | tests/test-convert-git.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <<EOF > [submodule "git-repo5"] > path = git-repo5 - > url = $TESTTMP/git-repo5 + > url = git-repo5 > EOF $ git commit -q -a -m "weird white space submodule" $ cd ..