[pkg-java-svn2git] 01/01: Fixed the substitution of the Vcs-* fields

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jun 5 09:03:07 UTC 2014


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 d2995cf62ef8b44aabb77ca24ae51e536e47331c
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Jun 5 10:57:31 2014 +0200

    Fixed the substitution of the Vcs-* fields
---
 migrate-svn-repo-to-git | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/migrate-svn-repo-to-git b/migrate-svn-repo-to-git
index 03d0d0d..9e52bfc 100755
--- a/migrate-svn-repo-to-git
+++ b/migrate-svn-repo-to-git
@@ -50,11 +50,11 @@ git branch -rd origin/trunk
 
 # Update the Vcs-* fields
 echo "Updating debian/control..."
-sed -i 's#http://anonscm.debian.org/viewvc/$TEAM/trunk/\([^/]*\)/\?#http://anonscm.debian.org/gitweb/?p=$TEAM/\1.git#g' debian/control
-sed -i 's#http://svn.debian.org/wsvn/$TEAM/trunk/\([^/]*\)/\?#http://anonscm.debian.org/gitweb/?p=$TEAM/\1.git#g' debian/control
+sed -i "s#http://anonscm.debian.org/viewvc/$TEAM/trunk/\([^/]*\)/\?#http://anonscm.debian.org/gitweb/?p=$TEAM/\1.git#g" debian/control
+sed -i "s#http://svn.debian.org/wsvn/$TEAM/trunk/\([^/]*\)/\?#http://anonscm.debian.org/gitweb/?p=$TEAM/\1.git#g" debian/control
 
-sed -i 's#Vcs-Svn: svn://anonscm.debian.org/$TEAM/trunk/\([^/]*\)/\?#Vcs-Git: git://anonscm.debian.org/$TEAM/\1.git#g' debian/control
-sed -i 's#Vcs-Svn: svn://svn.debian.org/svn/$TEAM/trunk/\([^/]*\)/\?#Vcs-Git: git://anonscm.debian.org/$TEAM/\1.git#g' debian/control
+sed -i "s#Vcs-Svn: svn://anonscm.debian.org/$TEAM/trunk/\([^/]*\)/\?#Vcs-Git: git://anonscm.debian.org/$TEAM/\1.git#g" debian/control
+sed -i "s#Vcs-Svn: svn://svn.debian.org/svn/$TEAM/trunk/\([^/]*\)/\?#Vcs-Git: git://anonscm.debian.org/$TEAM/\1.git#g" debian/control
 
 echo "Updated Vcs-* fields:"
 grep Vcs- 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