Download and install TortoiseSVN from:
Download and install CBMStudioSVN from:
Add an exception for both TortoiseSVN\bin\Tortoiseproc.exe and CBMStuidioSVN.exe to your Firewall (to let them communicate with your SVN server)
Launch CBMStudioSVN and complete the necessary locations. E.g:
Click Install SVN Commands. This installs the necessary commands into CBMStudioSVN:
Best practice is to version your projects from the start. Workflow is:
Create a new Versioned Project > Create the project in CBMPrgStudio
Create a new svn project:
Give it a name:
Once setup is complete, you'll get this message:
in CBMPrgStudio, go to File>New Project and paste the clipboard via Ctrl+v into the 'Project Location' textbox:
Complete the process and you're set up!
NB: You will have to close and re-open the new project in order for versioning to work on your new project…
Once you have some code in your project, you can upload it to 'version' it. Select “SVN: Commit”:
It will then open the TortoiseSVN dialogue:
Select Check All, Click OK and your project will be saved as a new revision.
If you are collaborating with others, or editing code on different machines/locations, it's best practice to check for any updates when you start a coding session. For example, you desktop might be on revision 1.1; you may edit this and commit on your laptop to revision 1.2, leaving your desktop version out of date. You do this with SVN: Check Modifications. For example, after doing this, you might see this:
This shows the project having been updated by the User “Test” - leaving the version on this local machine out of date. To bring it up to date, use the SVN: Update function.
Use the SVN: Update function. Following the example above, this will yield:
Closing and re-opening Main.bas will show the changes:
What about if you want to import someone else's project? Following the example, the User “Test” is wanting you to take a look at their code. You do this via SVN: Get Project:
Click on the URL Browser and select the Root Project Dir (not the one in 'trunk'). This will automatically change the Checkout directory (the root of which is the same as the default project root you set in CMBPrgStudio). Then click OK and the project will be imported to your local machine.
You can get a log of actions on the project via SVN: Show Log:
Between this and SVN: Repo Browser you can also access things such as file rollbacks through “Diff” and also compare between versions. Explore the TortoiseSVN documentation for further details on this..