[pkg-java-svn2git] 01/01: Handle the conversion of https SVN URLs

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Aug 2 19:59:25 UTC 2016


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository pkg-java-svn2git.

commit eabb271a824a6044a071e4463a8cb0175506e9d5
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Aug 2 21:58:51 2016 +0200

    Handle the conversion of https SVN URLs
---
 migrate-svn-repo-to-git | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/migrate-svn-repo-to-git b/migrate-svn-repo-to-git
index d16a422..3874cb3 100755
--- a/migrate-svn-repo-to-git
+++ b/migrate-svn-repo-to-git
@@ -50,9 +50,9 @@ git branch -rd origin/trunk
 
 # Update the Vcs-* fields
 echo "Updating debian/control..."
-sed -i "s#http://anonscm.debian.org/viewvc/$TEAM/trunk/\([^/]*\)/\?#https://anonscm.debian.org/cgit/$TEAM/\1.git#g" debian/control
-sed -i "s#http://svn.debian.org/viewsvn/$TEAM/trunk/\([^/]*\)/\?#https://anonscm.debian.org/cgit/$TEAM/\1.git#g" debian/control
-sed -i "s#http://svn.debian.org/wsvn/$TEAM/trunk/\([^/]*\)/\?#https://anonscm.debian.org/cgit/$TEAM/\1.git#g" debian/control
+sed -i "s#https\?://anonscm.debian.org/viewvc/$TEAM/trunk/\([^/]*\)/\?#https://anonscm.debian.org/cgit/$TEAM/\1.git#g" debian/control
+sed -i "s#https\?://svn.debian.org/viewsvn/$TEAM/trunk/\([^/]*\)/\?#https://anonscm.debian.org/cgit/$TEAM/\1.git#g" debian/control
+sed -i "s#https\?://svn.debian.org/wsvn/$TEAM/trunk/\([^/]*\)/\?#https://anonscm.debian.org/cgit/$TEAM/\1.git#g" debian/control
 
 sed -i "s#Vcs-Svn: svn://anonscm.debian.org/$TEAM/trunk/\([^/]*\)/\?#Vcs-Git: https://anonscm.debian.org/git/$TEAM/\1.git#g" debian/control
 sed -i "s#Vcs-Svn: svn://svn.debian.org/svn/$TEAM/trunk/\([^/]*\)/\?#Vcs-Git: https://anonscm.debian.org/git/$TEAM/\1.git#g" debian/control

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/pkg-java-svn2git.git



More information about the pkg-java-commits mailing list