Open main menu

CDOT Wiki β

Changes

SVN

547 bytes added, 19:10, 22 October 2006
SVN commands
<pre>
$svn update
U foofilename1.cU barfilename2.c
Updated to revision 2.
</pre>
: U <filename> - file was updated (received changes from the server)
*Make changes
:<pre>svn addfilename1.c</pre>:<pre>svn deletefilename1.c</pre>:<pre>svn copyfilename1.c filename2.c</pre>:<pre>svn movefilename1.c filename2.c</pre>
*Examine your changes
:After you've made changes, it's a good idea to take a look at exactly what you've changed before committing them to the repository.:<pre>$svn updatestatus</pre>:This will detact all file and tree changes you've made :By passing a specific path, you will get information about that item alone:<pre>$svn resolvedstatus stuff/filename3.cD stuff/filename3.c</pre>:D <filename/directory> - File or directory was deleted from your working copy:A <filename/directory> - File or directory was added to your working copy 
*Commit your changes
:<pre>svn commit</pre>
1
edit