BISMG:SarahS/notes on svn

Rough notes on using svn

My clean copy is located at http://source.ggy.bris.ac.uk/subversion/sarah-shannon/glimmer-cism-lanl/trunk/

Branch where Ill make changes to read in 3D temp & salinity located in /glimmer-cism-lanl/ocean_fields

Useful Commands
delete files already in repos:
 * svn delete http://source.ggy.bris.ac.uk/subversion/sarah-shannon/trunk -m "I am deleting this dir because it was rubbish"

set svn editor to emacs in .bashrc
 * 'export SVN_EDITOR=emacs'

Put code into repos:
 * svn import glimmer-cism-lanl/ http://source.ggy.bris.ac.uk/subversion/sarah-shannon

view log messaged for glimmer-cism-lanl which has been committed to the repository:
 * svn log http://source.ggy.bris.ac.uk/subversion/sarah-shannon/glimmer-cism-lanl

checkout the code from the repos:
 * svn co http://source.ggy.bris.ac.uk/subversion/sarah-shannon/glimmer-cism-lanl

submit change with message:
 * svn commit file_name.F90

List files in repos
 * svn list http://source.ggy.bris.ac.uk/subversion/sarah-shannon/glimmer-cism-lanl/trunk

Make a new branch


 * scv copy glimmer-cism-lanl