[pkg-java-svn2git] 01/01: Shorter Vcs-Browser URLs
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Tue Oct 7 13:05:42 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 027852abc8ef1dd28191dd5cd0d8adbf776dc956
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Tue Oct 7 15:05:15 2014 +0200
Shorter Vcs-Browser 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 42c327e..a1aace9 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/\([^/]*\)/\?#http://anonscm.debian.org/gitweb/?p=$TEAM/\1.git#g" debian/control
-sed -i "s#http://svn.debian.org/viewsvn/$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/cgit/$TEAM/\1.git#g" debian/control
+sed -i "s#http://svn.debian.org/viewsvn/$TEAM/trunk/\([^/]*\)/\?#http://anonscm.debian.org/cgit/$TEAM/\1.git#g" debian/control
+sed -i "s#http://svn.debian.org/wsvn/$TEAM/trunk/\([^/]*\)/\?#http://anonscm.debian.org/cgit/$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
--
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