Map and Scenario SVN

Acularius

King
Joined
Jan 22, 2012
Messages
801
Location
Ontario, Canada
Whereas I'm learning about how it works, I believe I have set up an SVN for Map and Scenario creation and it should... in theory. Work!
If not, I'm sure someone will know how I goofed.

I'm just copying the instructions from Modder's Documentation. With some changes.
http://forums.civfanatics.com/showpost.php?p=10651778&postcount=1

1) Get a sourceForge login

2) Tell Acularius what your SourceForge userid is, so he can add you as project contributors
Acularius note: As I figure things out.

3)Download and install Tortoise SVN if you don't already have it (http://tortoisesvn.net/downloads.html)

4) Prepare a folder to contain your copy of the project

Create an empty directory that will hold your working copy (i.e. - local directory on your machine which will be your 'image' of the central repository - this is where you will make your changes when you want to contribute them and where other people's changes will sync down to). I strongly recommend that this is NOT your 'live' copy in 'program files/firaxis/...'. Mine is in \Desktop\Map projects\C2C Map Team, but the location doesn't matter - just put it somewhere convenient where you have space.
(Moders only) You can make changes here without effecting anyone else while you are developing them - the rest of us will only see them when you commit them (see later)

5) Checkout from the repository to the folder you created in (4). This will get the current revision (which I have initialised as the V13 content) and make a permanent connection between your working folder and the repository. Assuming you have installed SVN as in (3) you can do this by right-clicking the directory in Windows Explorer and selecting 'Tortoise SVN/Checkout...'. When it asks you for the repository URL enter 'svn://svn.code.sf.net/p/caveman2cosmosm/code-0/trunk'.
Acularius note: Should in theory, work.
https://svn.code.sf.net/p/caveman2cosmosm/code-0/trunk

6) After it's all copied you are up and running!


The purpose of this is so the map team can work on the projects that come forward at the same time, WITHOUT possibly interferring with the actual mod of C2C's SVN.
This way we can mess up together, without doing any harm to the mod. :P
On a positive note, it allows the an incredible amount of freedom to the group and when we are ready all we have to do is update Koshling or whomever wants to keep tabs on us when something is 'possibly' ready for the actual SVN commit for the C2C mod.
Should allow better bug testing that can be caught before it is committed to the main mod.

Past that, I don't know.
Experiment time. Crash course in learning how SVN works.
 
Pretty much, but this way can do the maps without potentially causing havoc on the mod itself. :P

Should I remove GEM from the C2C SVN, or do you want me to take known stable releases of it and 'promote' them to the main SVN? If so you need to let me know which revs of which maps...
 
Should I remove GEM from the C2C SVN, or do you want me to take known stable releases of it and 'promote' them to the main SVN? If so you need to let me know which revs of which maps...

So far I've only posted the one GEM that I posted a while back with the bug fixes that were found.
Past that, I've recently unpacked everything from the camping trip and need to do a couple of things around the house.
 
Well having a hard time committing to the Map SVN. It doesn't prompt me to enter a username and password any where... Any ideas?

Well, when I commit to the mod SVN from a new computer, it prompts me to enter a username and password after I specify what to commit (ie, after the first commit window). I then check the 'save authentication' box, so I don't have to login again.
 
Well, when I commit to the mod SVN from a new computer, it prompts me to enter a username and password after I specify what to commit (ie, after the first commit window). I then check the 'save authentication' box, so I don't have to login again.

Yeah that's what I was reading online. I try to commit and it never asks me for a username and password and it just says authorization failed
 
Okay I figured out I was being an idiot. Got it to prompt me for the authentication now. Good to go there. Probably being an idiot again but now I'm getting this error....

can't open file '/svn/p/caveman2cosmosm/code-0/db/txn-current-lock' : Permission

Any ideas?

@Acularius

From what I have been reading online it is obviously an issue with permissions for me to upload stuff to the trunk. Are you sure that I have permission? I found this...

http://www.svnforum.org/threads/35981-Commit-failed-Can-t-open-file-db-txn-current-lock
 
I think Sourecforge projects use a different SVN URL for read and for write access (if you go to the souceforge project page for this project it should list both). If you're using the read-only one it isn't authenticated and will deny update permission.
 
Thanks for trying to help me out Koshling.

the read-only in is stated as....
svn://svn.code.sf.net/p/caveman2cosmosm/code-0/trunk caveman2cosmosm-code-0

http access...
svn checkout http://svn.code.sf.net/p/caveman2cosmosm/code-0/trunk caveman2cosmosm-code-0

I'm using the latter which i assumed was correct. I am just so confused as to why I'm getting that error. Maybe the permissions are set up properly for me to have write access?
 
Thanks for trying to help me out Koshling.

the read-only in is stated as....
svn://svn.code.sf.net/p/caveman2cosmosm/code-0/trunk caveman2cosmosm-code-0

http access...
svn checkout http://svn.code.sf.net/p/caveman2cosmosm/code-0/trunk caveman2cosmosm-code-0

I'm using the latter which i assumed was correct. I am just so confused as to why I'm getting that error. Maybe the permissions are set up properly for me to have write access?

Try https://svn.code.sf.net/p/caveman2cosmosm/code-0/trunk
 
Back
Top Bottom