Jump to content

Programming Howto:SVN Client Setup: Difference between revisions

From BCI2000 Wiki
Mellinger (talk | contribs)
No edit summary
 
Mellinger (talk | contribs)
No edit summary
Line 1: Line 1:
= Setup TortoiseSVN to access the BCI2000 code repository =
== Setting up TortoiseSVN to access the BCI2000 code repository ==
To set up TortoiseSVN and download the BCI2000 source code to your computer, follow these steps:
To set up TortoiseSVN and download the BCI2000 source code to your computer, follow these steps:
* Download the latest stable version from http://tortoisesvn.net/, and execute the installer program.  
* Download the latest stable version from http://tortoisesvn.net/, and execute the installer program. This page has been written for version 1.40, but should be pretty independent of TortoiseSVN's version number.
  This page has been written for version 1.40, but should be pretty independent of TortoiseSVN's version number.
* Create or pick an empty folder located on your machine’s harddrive. This will hold your working copy of the BCI2000 source tree, in an automatically created subfolder called "BCI2000."
* Create or pick an empty folder located on your machine’s harddrive. This will hold your working copy of the BCI2000 source tree, in an automatically created subfolder called "BCI2000."
* Right-click the folder you picked in the last step. From the context menu, choose the "SVN Checkout..." option – a dialog window appears.
* Right-click the folder you picked in the last step. From the context menu, choose the "SVN Checkout..." option – a dialog window appears.
* In the dialog window, enter the repository URL: <code><nowiki>http://72.249.19.64/svn/trunk</nowiki></code>, choose "HEAD revision", and click OK.
* In the dialog window, enter the repository URL:
* You will be prompted for your user name and password. This account is the same that you use to log into [[/tracproj|Trac]] and [[special:login|into this Wiki]].
  http://72.249.19.64/svn/trunk, choose "HEAD revision", and click OK.
* You will be prompted for your user name and password. This account is the same that you use to log into Trac and the [/wiki Documentation Wiki].


== Checking out older versions ==
== Checking out older versions ==
Line 16: Line 14:
Branches are versions of the source code that are developed in parallel to the main code version, e.g. to incorporate new features without affecting the stable version that is intended for end users.
Branches are versions of the source code that are developed in parallel to the main code version, e.g. to incorporate new features without affecting the stable version that is intended for end users.
To check out a branch called "myBranch", the repository URL would be:
To check out a branch called "myBranch", the repository URL would be:
http://72.249.19.64/svn/branches/myBranch.
<code><nowiki>http://72.249.19.64/svn/branches/myBranch</code></nowiki>.
Otherwise, the checkout process remains the same.  
Otherwise, the checkout process remains the same.  
----
 
See also: SourceCode, [wiki:UseTortoiseSVN]
[[Category:Howto]] [[Category:Development]] [[Category:Preliminaries]]

Revision as of 20:24, 6 December 2006

Setting up TortoiseSVN to access the BCI2000 code repository

To set up TortoiseSVN and download the BCI2000 source code to your computer, follow these steps:

  • Download the latest stable version from http://tortoisesvn.net/, and execute the installer program. This page has been written for version 1.40, but should be pretty independent of TortoiseSVN's version number.
  • Create or pick an empty folder located on your machine’s harddrive. This will hold your working copy of the BCI2000 source tree, in an automatically created subfolder called "BCI2000."
  • Right-click the folder you picked in the last step. From the context menu, choose the "SVN Checkout..." option – a dialog window appears.
  • In the dialog window, enter the repository URL: http://72.249.19.64/svn/trunk, choose "HEAD revision", and click OK.
  • You will be prompted for your user name and password. This account is the same that you use to log into Trac and into this Wiki.

Checking out older versions

If you think that the current version of BCI2000 is broken, or would like to work with an older version for some other reason, you may enter a "Revision number" into the checkout dialog. The "Show Log" button will provide you with an overview of the latest changes and their associated revision numbers.

Working on Branches

Branches are versions of the source code that are developed in parallel to the main code version, e.g. to incorporate new features without affecting the stable version that is intended for end users. To check out a branch called "myBranch", the repository URL would be: http://72.249.19.64/svn/branches/myBranch</code>. Otherwise, the checkout process remains the same.