Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 1 and Version 2 of code/tools/SVN


Ignore:
Timestamp:
Feb 17, 2008, 11:23:18 PM (16 years ago)
Author:
nicolasc
Comment:

co, up

Legend:

Unmodified
Added
Removed
Modified
  • code/tools/SVN

    v1 v2  
    33
    44{{{
    5 svn co https://svn.orxonox.net/data/trunk
     5svn co https://svn.orxonox.net/data/trunk data
     6svn up
    67svn ci -m "some message"
    7 svn up
    88svn cp https://svn.orxonox.net/orxonox/trunk https://svn.orxonox.net/orxonox/branches/test
    99svn diff
     
    1111svn revert
    1212}}}
     13
     14If not noted otherwise all commands are recursive.
     15
     16=== checkout (co) ===
     17the checkout command is used to create a local copy of a svn subtree on the local computer.
     18
     19the syntax used is ''svn co <remote-path> <local-path>'', if <local-path> is omitted the last remote folder will be used as <local-path>.
     20
     21This will create a folder orxonox-trunk with the contents of the trunk
     22{{{
     23svn co https://svn.orxonox.net/orxonox/trunk orxonox-trunk
     24}}}
     25
     26This will create a folder called test, with the content of the test branch.
     27{{{
     28svn co https://svn.orxonox.net/orxonox/branches/test
     29}}}
     30
     31=== update (up) ===
     32update is closely related to checkout, as it also download - or updates - the svn tree. while checkout is normally only used once, update is used all the time. the syntax is ''svn up <local-path>'', if <local-path> is omitted the current update will be allied to the current directory.
     33
     34This will update the current folder including subfolders.
     35{{{
     36svn up
     37}}}
     38
     39This will update the trunk and the test-branch.
     40{{{
     41svn up trunk branches/test
     42}}}
     43
     44=== checkin (ci) ===
     45sometime also called commit