Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

891338 Posts in 33540 Topics- by 24777 Members - Latest Member: Amy

June 19, 2013, 02:04:50 PM
TIGSource ForumsDeveloperTechnical (Moderators: Glaiel-Gamer, ThemsAllTook)Setting up Mercurial
Pages: [1]
Print
Author Topic: Setting up Mercurial  (Read 657 times)
Eiffer
Level 0
**



View Profile
« on: January 05, 2011, 10:07:30 PM »

So I've been trying to setup a Mercurial server on my Windows 7 desktop at home so that I will be able to push and pull to the repository from either my laptop or the lab computers at school. Unfortunately none of the tutorials I have tried has worked for me yet, likely because most of them seem to be for old versions on Mercurial, and things seem to have changed a fair bit since they were written. Of course the problem could also be that I am a complete noob when it comes to setting up any sort of server and also to Mercurial. Most of my friends at school are either inexperienced like me, or fairly anti-windows and just keep telling me to build a Linux box and host a Git repository on that. This is not an option however, and I've heard that getting a Git server to run on Windows can be next to impossible.

So I'm wondering if anyone can either point me to a tutorial, or help me get things up and running. If setting up the web server is too complicated, I would also be happy to figure out how to set up Mercurial on my desktop and my laptop so that I can work on my laptop through the day, (using the local repository I guess), then push to the desktop when I get home and get on my local network.

Does anyone have any advice/help for either option?
Logged
dcarrigg
Level 0
***

Software Neurosurgeon


View Profile WWW Email
« Reply #1 on: January 05, 2011, 11:18:38 PM »

When we first switched to Mercurial I was going to host it myself, but this turned out to not be as fun as I thought it would be.

Allow me to introduce you to...    bitbucket.org. Unlimited disk space, and up to 5 users for free (Edit: Unlimited users are free for open-source projects). You can access it from anywhere, and don't need to worry about running your own server. Plus, built in issue tracking support and a wiki (neither of these are THAT great, but they are there if you want them). It'd definitely the way to go.

We use it for our engine and Snapshot codebases. I'd be up for answering any other questions about bitbucket or mercurial you might have anytime. You can find me in the live chat irc room on retroaffect.com
Logged

Check it out! www.retroaffect.com
InfiniteStateMachine
Level 10
*****



View Profile WWW Email
« Reply #2 on: January 07, 2011, 12:10:09 AM »

holy crap unlimited disk space? That's awesome, all the other SVN/Git/etc private hosts I'd found so far only had around a 50-500MB limit. Not great when you are working on a game.

Thanks Smiley
Logged

Eiffer
Level 0
**



View Profile
« Reply #3 on: January 07, 2011, 07:21:54 AM »

Thanks, that does look like the best option. I've also noticed that many of the online services only offer about 500 MB or so of storage and usually charge for private repositories.
Logged
Klaim
Level 10
*****



View Profile WWW
« Reply #4 on: January 07, 2011, 10:16:30 AM »

Why don't you simply install TortoiseHG, then when you want to pull changes you launch the webserver provided and do the pull?
Although if you want to centrilize, the easiest (private) way is to have a remote server with your repo cloned, then you simply use ssh to push/pull "et voilą".
If you don't have remote host, then just do the transactions between your computers on local network, it'll be enough until you need to provide it to a full team. If you do, then you'll have to have a server or push it on bitbucket.org as already suggested.

You don't need much to setup mercurial.
Logged

http://www.klaimsden.net | Game : NetRush | Digital Story-Telling Technologies : Art Of Sequence
dcarrigg
Level 0
***

Software Neurosurgeon


View Profile WWW Email
« Reply #5 on: January 07, 2011, 03:04:46 PM »

Oh, one other thing I'd note is that you should use TortoiseHg. It makes life easier.
Logged

Check it out! www.retroaffect.com
Klaim
Level 10
*****



View Profile WWW
« Reply #6 on: January 07, 2011, 03:43:57 PM »

Oh yes, it does so much for you.
Logged

http://www.klaimsden.net | Game : NetRush | Digital Story-Telling Technologies : Art Of Sequence
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic