Svnhowto

From Aicip
Jump to: navigation, search
  • to list repositories, use command line or webpage

svn ls https://panda.ece.utk.edu/svn/ece400

https://panda.ece.utk.edu/svn/ece400

  • for access control, visit the file /etc/apache2/conf.d/svn.conf
  • to import new sources

first, clean up the source tree, remove unnecessary files second, get to the first level directory, run

svn import . https://panda.ece.utk.edu/svn/ece400 -m "comment" cd ..

  1. delete the original copy as it's not an svn-managed directory

rm -rf Image

  1. check out new directory named ipl

svn co https://panda.ece.utk.edu/svn/aicip/ipl/trunk ipl

  1. to check if this is indeed an svn-managed directory, use

svn info

  1. to commit all the changes

svn commit

  1. to commit a particular change

svn commit filename

  1. to add a new file

svn add filename or directory svn commit

  1. to release a snapshot

svn copy https://panda.ece.utk.edu/svn/aicip/ipl/trunk https://panda.ece.utk.edu/svn/aicip/ipl/tags/ipl-release-0.1

  1. if there's any problem, create a tag directory and import that

mkdir tags svn import . https://panda.ece.utk.edu/svn/aicip/ipl/tags -m "tagging" rm -rf tags

  1. after the release is created, go to the website

https://panda.ece.utk.edu/svn/aicip/ipl

  1. we can export the release when needed which doesn't have all the svn info

svn export https://panda.ece.utk.edu/svn/aicip/ipl/tags/ipl-release-0.1 new-name