Difference between revisions of "GENIE Quick SVN ref"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
==What is Subversion?== | ==What is Subversion?== | ||
− | Subversion (abbreviated SVN) is the successor to CVS. It is closely related to CVS and so many of the commands are the same. For example, Subversion still has the commands <tt>checkout</tt>, <tt>commit</tt> and <tt>update</tt>, except that <tt>cvs update</tt> is replaced with <tt>svn update</tt>. Happily this means that there is little re-learning required to use SVN instead of CVS. If they were entirely alike, there would be no need for SVN, however. Subversion addresses a number of the shortcomings of CVS. For example, the command <tt>svn move</tt> now exists, wehereas files could not be renamed under CVS, without losing their revision history. Another big difference is that SVN repositories are accessed through a URL. For example, you might checkout GENIE from SVN by typing < | + | Subversion (abbreviated SVN) is the successor to CVS. It is closely related to CVS and so many of the commands are the same. For example, Subversion still has the commands <tt>checkout</tt>, <tt>commit</tt> and <tt>update</tt>, except that <tt>cvs update</tt> is replaced with <tt>svn update</tt>. Happily this means that there is little re-learning required to use SVN instead of CVS. If they were entirely alike, there would be no need for SVN, however. Subversion addresses a number of the shortcomings of CVS. For example, the command <tt>svn move</tt> now exists, wehereas files could not be renamed under CVS, without losing their revision history. Another big difference is that SVN repositories are accessed through a URL. For example, you might checkout GENIE from SVN by typing: <pre>svn checkout http://source.ggy.bris.ac.uk/subversion/genie/trunk --username <your_username> ~/genie</pre>. |
==Using Subversion== | ==Using Subversion== |
Revision as of 15:50, 27 March 2007
What is Subversion?
Subversion (abbreviated SVN) is the successor to CVS. It is closely related to CVS and so many of the commands are the same. For example, Subversion still has the commands checkout, commit and update, except that cvs update is replaced with svn update. Happily this means that there is little re-learning required to use SVN instead of CVS. If they were entirely alike, there would be no need for SVN, however. Subversion addresses a number of the shortcomings of CVS. For example, the command svn move now exists, wehereas files could not be renamed under CVS, without losing their revision history. Another big difference is that SVN repositories are accessed through a URL. For example, you might checkout GENIE from SVN by typing:
svn checkout http://source.ggy.bris.ac.uk/subversion/genie/trunk --username <your_username> ~/genie
.