From e708c45c9ca605a11e15a0494f7a968a5aab69b8 Mon Sep 17 00:00:00 2001 From: Salvatore Bonaccorso Date: Sat, 17 Jan 2015 23:45:18 +0000 Subject: Add WIP README for the svn-git conversion git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@31474 e39458fd-73e7-0310-bf30-c45bca0a0e42 --- tools/git-migration/README | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tools/git-migration/README (limited to 'tools/git-migration/README') diff --git a/tools/git-migration/README b/tools/git-migration/README new file mode 100644 index 0000000000..03b827abb3 --- /dev/null +++ b/tools/git-migration/README @@ -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 + -- cgit v1.2.3