Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2015 16:33:59 +0000 (UTC)
From:      Ulrich Spoerlein <uqs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r277387 - user/uqs/git_conv
Message-ID:  <201501191633.t0JGXxA3015482@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: uqs
Date: Mon Jan 19 16:33:58 2015
New Revision: 277387
URL: https://svnweb.freebsd.org/changeset/base/277387

Log:
  Stop pushing to googlecode, it's too unreliable; use the ports' version of
  svn2git and shut up git 2.0 push warnings.

Modified:
  user/uqs/git_conv/git_conv

Modified: user/uqs/git_conv/git_conv
==============================================================================
--- user/uqs/git_conv/git_conv	Mon Jan 19 16:15:12 2015	(r277386)
+++ user/uqs/git_conv/git_conv	Mon Jan 19 16:33:58 2015	(r277387)
@@ -4,6 +4,7 @@
 #
 # Simple for svn2git repos, need to run against local paths, using rules files in ~git/*.rules
 # - First svn2git run will create target git repo, then
+# - git config --global push.default matching
 # - git remote add github github.com:freebsd/freebsd.git
 # - git config --add remote.github.push '+refs/heads/master:refs/heads/master'
 # - git config --add remote.github.push '+refs/heads/stable/*:refs/heads/stable/*'
@@ -19,6 +20,7 @@
 # - git svn init -Thead -rewrite-root=svn+ssh://svn.freebsd.org/base file:///home/svn/base src-head.git
 # - cd src-head.git
 # - git svn fetch -r 0:1000
+# - git config --global push.default matching
 # - git remote add github github.com:freebsd/freebsd.git
 # - git config --add remote.github.push '+refs/remotes/trunk:refs/heads/svn_head'
 # - git svn rebase
@@ -26,7 +28,7 @@
 
 : ${BASE=/home/git}
 : ${RULES_DIR=${BASE}}
-: ${SVN2GIT=${BASE}/svn2git/svn-all-fast-export}
+: ${SVN2GIT=/usr/local/bin/svn2git}
 
 : ${SRC_REPO=/home/svn/base}
 : ${DOC_REPO=/home/svn/doc}
@@ -128,7 +130,7 @@ esac
 
 case "$TYPE" in
     base)
-	svn2git $RULES_DIR/freebsd-base.rules ${SRC_REPO} github bitbucket googlecode
+	svn2git $RULES_DIR/freebsd-base.rules ${SRC_REPO} github bitbucket #googlecode
 	;;
     doc)
 	svn2git $RULES_DIR/freebsd-doc.rules ${DOC_REPO} github



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501191633.t0JGXxA3015482>