From 3f98f493ff9331bf41ddf5d734729f9d5a89d73a Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Sat, 17 Feb 2018 14:44:05 +0000 Subject: [PATCH] Correct remote repo URL. --- contrib/migrate-svn-git | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/contrib/migrate-svn-git b/contrib/migrate-svn-git index 91090cc..b492e70 100755 --- a/contrib/migrate-svn-git +++ b/contrib/migrate-svn-git @@ -23,7 +23,12 @@ for p in sysvinit startpar insserv; do for tag in `git branch -r | grep "tags/" | sed "s/ $p\/tags\///"`; do git tag -a -m"Converting SVN tags" $tag refs/remotes/$p/tags/$tag done - git remote add origin ssh://git.savannah.gnu.org:/srv/git/$p.git + if [ "sysvinit" = "$p" ]; then + remote=$p.git + else + remote=sysvinit/$p.git + fi + git remote add origin ssh://git.savannah.gnu.org:/srv/git/$remote ) done rm $authorsmap