View Full Version : SVN Repository


NikNaks
Jul 29, 2008, 11:02 AM
Our working files are stored on something known as an SVN Repository. For those unfamiliar with the software, you'll require something like Tortoise SVN (http://tortoisesvn.tigris.org) (Windows) to utilize it. It is excellent for this sort of project, where live updates to the mod can be made easily and quickly.

If you know what you're doing, the repo is stored on the following server:
https://world2008mod.svn.sourceforge.net/svnroot/world2008mod
and you'll need to send me your SourceForge username if you want to commit anything.

If you don't, never fear. Here's a brief tutorial:
Download and install Tortoise SVN (http://forums.civfanatics.com/tortoisesvn.tigris.org) (only for Windows; those using other OS's should contact me - see below)
Create a folder - this will be where your local copy is stored (I would recommend placing it in your Civ install directory under Beyond the Sword\Mods\World 2008)
Right click on this folder and select SVN Checkout (you may need to restart if you haven't already after your Tortoise install)
Type in the location of the server (see above) in the appropriate box
Click OK and allow the files to downloadYou've now got a local copy. You must keep your copy up to date. To do this, right click on the root folder (the one you created in 2. above) and choose SVN Update.
In order that changes you make can be uploaded, you need to create an account at SourceForge (http://SourceForge.net) and send me your username.
Once you've done that and I've confirmed that you can now make changes, you can commit them by right-clicking on the root folder and choosing SVN Commit. You'll be presented with a screen that is pretty self-explanatory, but if you find any problems with it, just contact me.If you have any problems, either post here, send me a PM or come to our Jabber chatroom (http://forums.civfanatics.com/showthread.php?t=274710).

hevehoc
Jul 29, 2008, 12:14 PM
the "Tortoise SVN" link doesen't work.

NikNaks
Jul 29, 2008, 12:20 PM
Sorry, I mistyped it. It should work now. :goodjob:

Bahmo
Dec 03, 2008, 06:23 PM
How much is in the mod at this point?

Bahmo
Dec 03, 2008, 11:44 PM
Also, the link is broken again.

NikNaks
Dec 04, 2008, 01:51 PM
There's nothing wrong with the link here...

We have several civs, leaders and a more-or-less complete tech tree.

Krug
Dec 04, 2008, 05:45 PM
Also, the link is broken again.

You could always just use Google like I did.

Bahmo
Dec 04, 2008, 05:58 PM
Okay, so it's working now, but the tech infos file is not opening. Please examine that.

DVS
Dec 07, 2008, 04:24 AM
Sorry about that, I made some mistakes originally. The working tech tree is now available through the SVN.

Krug
Dec 07, 2008, 09:48 AM
Hmmm, whenever I use SVN Checkout, it just says Invalid URL...and I'm sure I'm using the right information.

Bahmo
Dec 07, 2008, 10:00 PM
Techs still do not work for me. Something about XSL. Oh, and this is for every computer I try it on, so the problem is obviously with your file. How's about you just send it to me?

DVS
Dec 07, 2008, 11:00 PM
How are you trying to open the tech tree? You will have to have the entire mod to be able to open it in the game.

Bahmo
Dec 07, 2008, 11:19 PM
With my browser.

DVS
Dec 07, 2008, 11:19 PM
Don't use your browser dude

DVS
Dec 07, 2008, 11:35 PM
If anyone can't get this to work, send me a private message.

Bahmo
Dec 08, 2008, 05:19 PM
Got it! Now to start posting on the relevent forums.

DVS
Dec 08, 2008, 06:11 PM
Right on.

.

Adhesive86
Sep 22, 2009, 07:59 AM
I can't get this to work:

I've got to Niknaks' step 4, input the following in the 'url repository' field:

https://world2008mod.svn.sourceforge...t/world2008mod

and i get the following error:

Checkout from https://world2008mod.svn.sourceforge...t/world2008mod, revision HEAD, Fully recursive, Externals included
OPTIONS of 'https://world2008mod.svn.sourceforge...t/world2008mod': Could not
resolve hostname `world2008mod.svn.sourceforge...t': The requested name is
valid, but no data of the requested type was found.
(https://world2008mod.svn.sourceforge...t)

operation failed.

help?

NikNaks
Sep 22, 2009, 03:18 PM
That's because you've left in the ... from the text-shortening the forum does.

You need to copy the actual link, not the text. Alternatively, just replace the ... with ".ne", which is what's missing.

Adhesive86
Sep 23, 2009, 06:29 AM
Ok, i've done that and got a bit further, but it's still not working. After taking 34 seconds to download 12kb i get the following message:

'Checkout from https://world2008mod.svn.sourceforge.net/svnroot/world2008mod, revision HEAD, Fully recursive, Externals included
Can't create directory 'C:\Program Files\Firaxis Games\Sid Meier's Civilization
4\Beyond the Sword\Mods\World 2008\.svn': Access is denied.'

I assume this is the correct directory?

I've tried this a few times varying a few of the options after it initially didn't work. I can browse the repository OK by clicking to teh right of the URL field.

EDIT: Sorted Following Niknaks' reply below.

NikNaks
Sep 24, 2009, 02:36 PM
That sounds like your folder is read-only or something. Try making a new folder and trying again (where it is isn't important, remember). If it still doesn't work, we can try other things. Vista or XP?

civ_king
Jan 10, 2010, 11:51 PM
got a thing for OS X?

NikNaks
Jan 11, 2010, 01:39 PM
I know there are programs for Mac, but I don't have any personal experience, so I can't recommend any in particular. I would just Google it and try a popular one.

Bahmo
Mar 29, 2010, 09:02 PM
Does it not work for Vista? I installed tortoise on my new PC and can't find the SVN command in the right click menu anymore. When I try to open Tortoise itself, it gives me a quick message and opens my file folders, but I still can't use the tortoise function.

Edit: Never mind; I got it working. Some good work there, to whomever did the art!

NikNaks
Mar 30, 2010, 03:41 AM
I'm not sure I was keeping track of credits as I was adding a lot of that in. If there are things uncredited, I'll try to pinpoint them. The flags and buttons were made by me, but the rest is from other CFC peeps.

Bahmo
Mar 30, 2010, 04:18 AM
Just out of curiosity, which part of the file are the flags in? And are the tech buttons anywhere in there?

NikNaks
Mar 30, 2010, 05:40 AM
Both of those are under Interface. Then, head for TeamColor for the flags, and Buttons for, well, the buttons. I didn't make it clear that I only made the Civ buttons, not any of the others. I'm not sure how many are in there.

Bahmo
Mar 30, 2010, 07:37 PM
Where did DVS get his tech buttons? Any files you have that he made would be useful to sift through.

NikNaks
Mar 31, 2010, 07:10 AM
I can't find anything he made that isn't already on the SVN. I'll have another look.