This is a guide for a single user to setup a barebones SVN repository quickly and without any extra confusing instructions.
The following steps will show how to 1.setup a repository for a project, 2. import files into the repo, 3. pull them out into a different folder, and 4. submit changes back to the repo. Before starting, make sure you have subversion installed (sudo apt-get install subversion) on all the computers you will be using. For this howto I’ll be using the server “closetbox” and the client “icebox”. Both are running Ubuntu Linux.
nick@closetbox:# sudo mkdir /var/svn
nick@closetbox:# sudo svnadmin create /var/svn/frozenindustries
nick@closetbox:# sudo chmod 770 /var/svn/frozenindustries
nick@closetbox:# sudo chown nick:nick /var/svn/frozenindustries
nick@icebox:# svn import -m “look, i’m importing” htdocs/ svn+ssh://closetbox/var/svn/frozenindustries/trunk
nick@icebox:# svn co svn+ssh://closetbox/var/svn/frozenindustries/trunk fi/
nick@icebox:# svn ci fi/
That’s it. Repeat steps 3 and 4 to grab copies of you project and submit changes.
Copyright ©2005-2007 Nicholas Brand. All rights reserved.
powered by WordPress.
23 queries. 0.132 seconds