An embaressing admission

Posts   
 
   
 
Anonymous
User
Posts: 0
Joined: 11-Nov-2006
# Posted on: 13-Mar-2006 02:52:30   

Hi Guys,

Ok, I admit it. I don't use Source Control. There, I said it. flushed

But I want to, I really really want to. I've downloaded Subversion and TortoiseSVN and everything.

Trouble is, I don't know where to start. I've followed the instructions and set up a repository and that's all working great. But I don't know what to do next.

I mean how do I make it all work with Visual Studio. What's the dev-cycle? Where do I put my projects? How do I build them? etc.

Any help much appreciated

Cheers,

Pete

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39798
Joined: 17-Aug-2003
# Posted on: 13-Mar-2006 09:34:54   

Subversion uses edit-commit cycles. So, you follow this procedure: - create an import folder somewhere with the following structure:


import
    |-- Branches
    |-- Tags
    |-- Trunk

In the Trunk folder, you place the sourcecode you want to have under sourcecontrol. You then right click import and select tortoisesvn -> Import... You then specify the repository to import, and it gets imported.

You now have the source in sourcecontrol. But you want to edit it, so you 'checkout' a folder in the repository, normally a trunk folder. So you create a folder in where you want to work (can be your original folder, first clean it) and right click there and select Check out. Select the trunk folder of the code you just checked in and click OK. The code is added to the folder.

You can now edit the sourcecode in whatever editor you please. After you're done, you simply rightclick the folder and select Commit. You should just check the files you want to checkin, so bin and obj folders shouldn't be checked. You can exclude them later in the tortoise menu

From then on, you just edit and after you're done, select commit. It's wise to type a message each time you check in with what you've done, so you get a nice log. simple_smile

Frans Bouma | Lead developer LLBLGen Pro
Anonymous
User
Posts: 0
Joined: 11-Nov-2006
# Posted on: 13-Mar-2006 19:04:26   

Thanks Otis your a star. I'm all source-controlled. Still got loads to learn but I got the basics now simple_smile

Pete