Subversion (SVN)

Subversion provides an easy-to-use version control system extensively used in this group. The Subversion page gives usage and configuration information for the MSU installation of SVN.

Notes

  • The group's Subversion repository is at svn+ssh://YourUserId@yavin.ece.msstate.edu/data/research/robotics/svn
  • For media too large to upload to the Google Sites:

PIC24 support library checkout

  1. Create the appropriate subdirectory structure:
    1. Create a subdirectory to hold the project you are working in, which includes both the support library and your code. For example, PIC.
    2. Under this directory, create an additional directory to store your code. For example, PIC\robot.
  2. Set SVN properties on the top-level subdirectory (PIC in this example):
    1. Right-click on the folder, choose TortoiseSVN, then Properties.
    2. Click New..., then choose svn:externals for the property name.
    3. Enter the following for the property value:
^/../svn-ece3724/trunk/PIC24/code/common common
^/../svn-ece3724/trunk/PIC24/code/include include
^/../svn-ece3724/trunk/PIC24/code/lkr lkr
  1. SVN update; the latest support library sources will be loaded.
  2. SVN commit to save these property changes. Future svn updates will automatically check for updated support library sources and fetch them. However, SVN commit on the top-level subdirectory (in this example, PIC) if you're modified library sources WILL NOT commit these changes. See the SVN manual for more details.

Notes: just using the full path of svn+ssh://svn.ece.msstate.edu/data/robotics/svn-ece3724/trunk/PIC24/code/blah for the values of svn:externals shown above causes TortoisePlink to ask you for a user name for each of the three directories. The caret specifies a relative path and works around this problem. If there's some other way to specify it, I'd rather include a full path but don't know of any other way.


Comments