diff options
author | Salvatore Bonaccorso <carnil@debian.org> | 2015-01-17 23:45:18 +0000 |
---|---|---|
committer | Salvatore Bonaccorso <carnil@debian.org> | 2015-01-17 23:45:18 +0000 |
commit | c34ea87fdafaed1c3269a136ea346995b33a73e1 (patch) | |
tree | bf5388a9767cf2f9cc63b4e72c537ec5a440f6b8 /tools | |
parent | f607fe08b053f729cc943e6e74dde9ff15043376 (diff) |
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
Diffstat (limited to 'tools')
-rw-r--r-- | tools/git-migration/README | 19 |
1 files changed, 19 insertions, 0 deletions
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 + |