[Secure-testing-commits] r31474 - tools/git-migration
Salvatore Bonaccorso
carnil at moszumanska.debian.org
Sat Jan 17 23:45:18 UTC 2015
Author: carnil
Date: 2015-01-17 23:45:18 +0000 (Sat, 17 Jan 2015)
New Revision: 31474
Added:
tools/git-migration/README
Log:
Add WIP README for the svn-git conversion
Added: tools/git-migration/README
===================================================================
--- tools/git-migration/README (rev 0)
+++ tools/git-migration/README 2015-01-17 23:45:18 UTC (rev 31474)
@@ -0,0 +1,19 @@
+Howto for conversion (WIP)
+--------------------------
+1/ On alioth generate the AUTHORS.txt lists via fetch-authors script.
+
+2/ Clone the subversion repository using git-svn:
+
+ $ git svn clone svn+ssh://svn.debian.org/svn/secure-testing --prefix=origin/ -no-metadata -A AUTHORS.txt tmp-git-repo
+
+3/ Push repository to new bare git repo
+
+ $ cd tmp-git-repo
+ $ git remote add new-repo svn+ssh://git.debian.org/git/debian-security/debian-security.git
+ $ git config remote.new-repo.push refs/remotes/*:refs/heads/*'
+ $ git push new-repo
+
+4/ On the bare repo rename trunk to master branch
+
+ $ git branch -m trunk master
+
More information about the Secure-testing-commits
mailing list