Thursday, July 10, 2008

subversion control (SVN)

SVN is much easier to work with when compared to CVS.
Some useful commands are:
When you have first created SVN and want to submit the initial version of a project use import command.
1. svn import hmm http://ppp.berlin.ghost.de/svn/

2.To check out for the first time, do
svn co http://pp.berlin.ghost.de/svn/hmm newhmm
Files will be downloaded and saved as newhmm
If http fails, use svn://...

3. After changing a file, if you want upload the changes, do commit.
svn commit
(Remember to go out to the appropriate parent directory. Otherwise, you
may get a 'work directory not found' kind of an error.

4. Once you have checked out, but want the latest version, do, update.
svn update (alternatively, svn up)

if svn breaks down, do
svnadmin recover /home/svn
chmod -R g+w /home/svn

No comments:

Post a Comment

Continuously monitor GPU usage

 For nvidia GPUs do the follwing: nvidia-smi -l 1