Subversion quickstart


/ Published in: SVN
Save to your folder(s)



Copy this code and paste it in your HTML
  1. creating the Subversion repository
  2. % svnadmin create --fs-type fsfs path-to-svn-repos
  3. % mkdir tmp
  4. % cd tmp
  5. % mkdir webframework
  6. % cd webframework
  7. % mkdir trunk branches tags
  8. % cd ..
  9. % svn import . file:///path-to-svn-repos --message 'Initial repository layout'
  10.  
  11. check client
  12. % REPOS=svn+ssh://host/path-to-svn-repos
  13. % svn list $REPOS
  14.  
  15. importing into the repository
  16. % cd ~/Developer/Workspace/Eclipse/projectA/
  17. % svn checkout $REPOS/projectA/trunk .
  18.  
  19. % svn add --force .
  20. % svn revert --recursive build/*
  21. % svn revert --recursive docs/*
  22. % svn propset svn:ignore '*' build
  23. % svn propset svn:ignore '*' docs
  24.  
  25. commit
  26. % svn commit -m 'Initial project.'
  27.  
  28. Subclipse
  29. http://subclipse.tigris.org/update_1.0.x

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.