LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 01-17-2011, 03:57 AM   #1
Bjorne
Member
 
Registered: May 2003
Location: Sweden
Distribution: Debian Lenny
Posts: 81

Rep: Reputation: 15
Can you use Mercurial/Git without a sever?


Hi!

I'm looking for a version control system to replace SVN.

I've heard that Mercurial and Git are good distributed systems, but I was wondering if any of them can work without a central server?

The issue here is that I'm trying to get a few PCs working together, and my workplace has a VPN solution which really is horrible.
Thus, I was thinking that it might be possible to setup a parallel version control system where ~10 persons can connect without having a central server.

I could setup a server on my PC of course, but if I'm away that won't be good. So what I'm really looking for is some P2P approach.

Could Mercurial or Git work like that, or are there other systems?

Thanks!
 
Old 01-17-2011, 08:05 AM   #2
orgcandman
Member
 
Registered: May 2002
Location: dracut MA
Distribution: Ubuntu; PNE-LE; LFS (no book)
Posts: 594

Rep: Reputation: 102Reputation: 102
Actually git is completely decentralized - you don't need a master server anywhere. It's useful if you'd like to say - "This is the one true repository from which all others must come, and return." However, it's really like a peer-to-peer development system.

I've never used mercurial, so I have no idea about it.
 
Old 01-17-2011, 08:26 AM   #3
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,238

Rep: Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299
These are the ways that you can share Mercurial repositories between the PCs.
 
Old 01-17-2011, 08:33 AM   #4
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
Might be you are interested in:
https://github.com/
 
Old 01-17-2011, 08:35 AM   #5
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,238

Rep: Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299
And:
http://www.bitbucket.org/

Furthermore, these are the ways that you can share GIT repositories between the PCs, should you decide to go that route.

Last edited by dugan; 01-17-2011 at 08:42 AM.
 
Old 01-17-2011, 09:11 AM   #6
Bjorne
Member
 
Registered: May 2003
Location: Sweden
Distribution: Debian Lenny
Posts: 81

Original Poster
Rep: Reputation: 15
Thanks for your answers, I'll have a look at the links
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SBo-git - slackbuilds.org on git (with patches for current) ponce Slackware 47 03-12-2011 05:12 AM
[SOLVED] Mercurial hgwebdir and lighhtpd artur13 Linux - Software 4 04-05-2010 02:52 AM
Mercurial permissions artur13 Linux - Software 0 04-03-2010 04:14 PM
why is git scm named 'git'? hottdogg Linux - General 5 02-03-2009 07:25 AM
inconsistency issue of git-clone ***/git/mesa/drm with the existing kernel source centguy Linux - Desktop 2 10-08-2008 10:36 PM


All times are GMT -5. The time now is 03:53 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration