User Tools

Site Tools


software:cbmstudiosvn:start

CBMStudioSVN

Requirements

  • a 64bit CPU
  • .net Framework V4.5.2
  • A SVN repository to connect to (e.g. VisualSVN if self-hosting)

Getting Started

Download and install TortoiseSVN from:
https://tortoisesvn.net/

Download and install CBMStudioSVN from:
https://sites.google.com/view/magoarcade/software/cbmstudiosvn

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:

Use

Adding a Versioned Repository

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…

Uploading to Subversion

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.

Checking for Updates

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.

Updating a local project

Use the SVN: Update function. Following the example above, this will yield:

Closing and re-opening Main.bas will show the changes:

Importing a Project from subversion

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.

Getting the Update Log

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..

Troubleshooting

"The SVN options aren't getting installed"

This may be due to CBMStudioSVN accessing the wrong user.config for CBMPrgStudio.You can try autoupdating it via the circled button, or you can unlock the textbox and select the correct one manually. These User.Configs are located at:

C:\Users\[you]\AppData\Local\Arthur_Jordison\

software/cbmstudiosvn/start.txt · Last modified: 2018/06/03 15:43 by stigzler