This project is read-only.

Now we can use TortoiseSVN

Coordinator
Feb 11, 2008 at 4:49 AM
I removed source control bindings and checked in the code so now we can use TortoiseSVN. Wow are things much easier already!

Main concept: Download and install TortoiseSVN, then download, run and configure a special .exe on your PC that bridges SVN commands to the TFS server at Codeplex. The .exe and instructions are in a Codeplex project of its own:
http://www.codeplex.com/SvnBridge
Read instructions carefully, but very simple. Worked like a champ the first time I used it, it's already made my whole week!

For those new to TortoiseSVN, it just right-click enables Windows Explorer to do source control commands (checkin/checkout, etc.). You get a simple green check/red alert icon on your folder names to indicate latest code or changes. No need for source control options in Visual Studio and make sure to remove any source control bindings if VS complains about it with errors.

You don't have to use the Tortoise flavor of the SVN client, but I highly recommend that you do due to the simplicity and GUI integration with Windows Explorer. (Note that is not Internet Explorer, I mean the local filesystem browser that is inside Windows, just want to be clear there :-)

As always, I'm glad to help if you have problems.

Cheers!
Adam
Coordinator
Feb 11, 2008 at 5:02 AM
Please note that I use c:\ as the source control folder, so that it makes a nice c:\trunk\tigermud\... folder and not c:\trunk\trunk\tigermud. Visual Studio expects source files to be at a certain path, so that would cause you headaches doing the other way.

Setting up like me means that, after you get Tortoise installed and SVNbridge installed and configured, then you navigate with Windows Explorer to c:\, right click the open space there and choose "SVN Checkout". Then it will automatically create and populate c:\trunk for you. It will complain and tell you that C:\ is not empty and are you sure? But I clicked Yes and let it do its thing.

All is good.

Note that when you add new files to the projects, you have to add them to the project inside Visual Studio, then before checkin you need to also right click those files in Windows Explorer and tell Tortoise to "Add" to source control. A little work but a small price to pay for all the other benefits, believe me!

All this is nothing new to folks with source control experience, but to others it is not very intuitive, thus my extensive instructions.

Cheers!
Adam
Coordinator
Feb 11, 2008 at 5:14 AM
Another note, sorry for all the run on here... :-)

When you do a checkin, Tortoise tells you what files are going to get merged as a nice feature.
Look at this list and uncheck tigermud.mdb unless your new code had a dependency on changes that you made in that file. In other words, there's no need to check that file in unless there are changes inside it that you need others to have.

C:\trunk\tigermud\output\Tigermud.mdb contains logs and things that get updated just running the server, so Tortoise will always see changes there on your local PC and think these are part of other changes you need to make to the code. It depends on you to determine what changes are important to copy into source control and those changes that are not important. That file list and the checkboxes next to each file are where you tell it which are true changes to checkin.

Cheers!
Adam
Feb 11, 2008 at 10:18 AM
Follow instructions above and after entering <username_cp> and <password>
I get this error:

Error: PROPFIND request failed on '/'
Error: PROPFIND of '/': 501 Not Implemented (https://tfs03.codeplex.com)

Is this a permission issue? Also tried without the _cp but no luck there either.
Coordinator
Feb 12, 2008 at 5:02 PM
Wow, gotta love those informative error messages! I had this error show up a couple of times during my configuration, but both times because I was getting in a hurry and not using the instructions exactly and doing things like mistyping http and https.

Make sure you are typing your username is in the format: snd\<yourname>_cp and that you configure the right URL in the SVNBridge program as shown: https://tfs03.codeplex.com
Then Tortoise SVN needs to be configured for this server path: http://localhost:8081/SvnBridge

Notice one is https and the other is not. I did this part wrong at first.

Cheers!
Adam

Feb 13, 2008 at 8:53 AM
Edited Feb 13, 2008 at 9:10 AM
Yup its working, I went through it again slowly step by step, realised I didn't have 'tigermud' in there for project name.
Silly mistake!
Thanks for the help again =)

Oh is it ok to checkin the channel code I am working on?
It involves a new .cs file, and some additions to commandprocessor.cs, library.cs, playercommands.cs, threadmanager.cs.
Its incomplete but what I have done is working, would be great to get some criticism on it from you guys.
Coordinator
Feb 15, 2008 at 8:57 AM
Sure, check it in and we'll take a peek!

Cheers!
Adam
Mar 4, 2008 at 10:29 PM
Hi guys,
Haven't been around much - started a new job and finished with it 2 weeks later!
I guess I'm just no salesman hehe.

I wanted to commit my channel code, but tortoise crashes after I entering my username and password:
Error: Commit failed (details follow):
Error: MKACTIVITY of '/!svn/act/676a3ddb-7b96-1b4b-8dd0-0ce71cbff130': Could not read status line: An existing connection was forcibly closed by the remote host. (http://localhost:8081)

Any ideas?
Coordinator
Mar 11, 2008 at 3:13 PM
Been busy with work, sorry for the slow reply.

I just tried it again as a test and worked fine to commit a test checkin.

The only thing I can think of is for you to echo your svnbrige and tortoisesvn connection info here to see if there are errors somewhere. Step us through your config and all the options that you touched, we'll assume defaults where you don't mention it.

Thanks!
Adam