Guest User

Untitled

a guest
Jun 17th, 2018
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. /original/0.1
  2. /original/0.2
  3. /variantA/trunk
  4. /variantA/branches/who/branch_for_xxx
  5. /variantA/branches/she/branch_for_yyy
  6. /variantB/trunk
  7. /variantB/branches/who/branch_for_zzz
  8. (... 30 or 40 alike)
  9.  
  10. cat "mysvnusername = Me Myself <me.myself@somewhere.com>" >> authors.txt
  11.  
  12. svnserve --daemon --foreground --root <SVN-REPO-PARENT-DIR>
  13. git svn clone --stdlayout --authors-file=authors.txt --no-metadata svn://localhost/<SVN-REPO-NAME>
  14.  
  15. # push to a public repo and clone from there, to get push/pull working easily
  16. cd <SVN-REPO-NAME>
  17. git remote add origin git@github.com:mygithubusername/<GIT-REPO-NAME>.git
  18. git push origin master
  19. cd ..
  20. rm -rf <SVN-REPO-NAME>
  21.  
  22. git clone git@github.com:mygithubusername/<GIT-REPO-NAME>.git
  23.  
  24. /branches/original-0.1
  25. /branches/original-0.2
  26. /branches/variantA-trunk
  27. /branches/variantA-who-branch_for_xxx
  28. /branches/variantA-she-branch_for_yyy
  29. /branches/variantB-trunk
  30. /branches/variantB-who-branch_for_zzz
  31. ...
Add Comment
Please, Sign In to add comment