Showing posts with label svn. Show all posts
Showing posts with label svn. Show all posts

svn : remove mistakenly added project files and directories within a directory

  1. #Remove unnecessary files and directories by
  2. svn rm file_or_directories
  3. #e.g.
  4. svn rm .settings //directory
  5. svn rm .project //file
  6. svn rm .git //directory
  7. svn rm .idea //directory
  8. #commit all changes
  9. svn commit -m "Your remove message."

CentOS : upgrading subversion(svn) 1.6 to subversion(svn) 1.7 Script(.sh)

  1. #uninstall svn 1.6 (yum installs old versions)
  2. yum remove svn
  3. cd /usr/local/
  4. #download 1.7
  5. wget http://opensource.wandisco.com/centos/5/devel/RPMS/x86_64/subversion-1.7.14-1.src.rpm
  6. #install
  7. rpm -ivh subversion-1.7.14-1.src.rpm
  8. #remove backup(your choice)
  9. rm -f subversion-1.7.14-1.src.rpm
  10. #check installation success
  11. svn --version