You are not logged in.

#1 2008-02-15 16:16:54

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

CVS, SVN, Mercurial, Darcs, git - which one?

I want to install a revision control system.  The articles I've found have talked about features I don't need, like distributed code and cherry-picking patches.  I don't use patches; I just edit the source code directly.  I don't want to monitor whole directories.  I used CVS when I was a programmer, and it would be fine for my needs, but I would like to use something more "modern" than CVS.  I can't tell whether any of the other systems will do what I want.

I just want to be able to pull my menu.lst, rc.conf or sudoers file as it was yesterday or 2 months ago (or before I screwed it up).

Anyone have thoughts on this?  Experiences, positive or negative?

Offline

#2 2008-02-15 22:04:01

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: CVS, SVN, Mercurial, Darcs, git - which one?

In your situation, I'd recommend Mercurial...it's modern, very easy to make the transition to if you've used CVS/SVN, and works very well.  I keep all of my configs in a Mercurial repo under ~/.dotconfigs/ and then set up symbolic links to the files where ever they exist.  It works extremely well for personal projects and isn't too difficult to get in the habit of using.  You also get the speed boost of it being distributed (meaning all operations take place on the local machine instead of over the network), even if you don't use that feature to share your files with others.

Last edited by elasticdog (2008-02-15 22:04:58)

Offline

#3 2008-02-16 00:03:10

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: CVS, SVN, Mercurial, Darcs, git - which one?

+1 for Mercurial - I use it for the papers I write. Works great. Small, efficient, sensible (well, it's in written in python, but...)

Offline

#4 2008-02-16 01:28:06

xaw
Member
From: Chapel Hill
Registered: 2007-08-09
Posts: 177

Re: CVS, SVN, Mercurial, Darcs, git - which one?

I would also say +1 for Mercurial - purely because I have used it very often for my own internal work and it is very elegant as a revision control system. However there are good things about git as well, primarily for the fact that it probably (I don't know this for sure) has better performance for certain loads not suitable to Mercurial.


The water never asked for a channel, and the channel never asked for water.

Offline

#5 2008-02-16 01:54:17

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: CVS, SVN, Mercurial, Darcs, git - which one?

i prefer git, but mercurial is a fine choice.
Either of those is a good option. Most of the other ones are crap.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#6 2008-02-16 06:01:13

SpookyET
Member
Registered: 2008-01-27
Posts: 410

Re: CVS, SVN, Mercurial, Darcs, git - which one?

If you need multiplatform support: mercurial. If you only use Linux, git is a fine choice, but it's complicated. If you want GUI, go SVN.

I use mercurial.

Offline

#7 2008-02-16 15:48:31

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: CVS, SVN, Mercurial, Darcs, git - which one?

I find git easy enough, never tried mercucial though.

Offline

#8 2008-02-16 18:16:59

jmp
Member
Registered: 2006-05-26
Posts: 10

Re: CVS, SVN, Mercurial, Darcs, git - which one?

+1 for Mercurial. Git is definitely a fine choice as well.

Offline

#9 2008-02-16 18:19:57

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: CVS, SVN, Mercurial, Darcs, git - which one?

Thanks, all.  smile  I'm reading up on Mercurial now.

Offline

#10 2008-02-17 05:42:42

venox
Member
From: Curitiba, Brazil
Registered: 2003-08-23
Posts: 137
Website

Re: CVS, SVN, Mercurial, Darcs, git - which one?

I've just started reading up on Mercurial too. But I don't get it: why having many cloned repos for the same project? Sorry if it's a stupid question, but I really don't see why.

Offline

#11 2008-02-17 06:10:51

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: CVS, SVN, Mercurial, Darcs, git - which one?

@venox - Search google for torvalds git video.  He explains it very well.

Offline

#12 2008-02-17 06:46:10

k2t0f12d
Member
Registered: 2008-02-17
Posts: 31

Re: CVS, SVN, Mercurial, Darcs, git - which one?

+1 git

Offline

#13 2008-02-17 13:03:03

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: CVS, SVN, Mercurial, Darcs, git - which one?

Darcs is a bit slow and in the past it was prone to some errors, but it is highly intuitive, self-explaining and comfortable.


Mortuus in anima, curam gero cutis

Offline

#14 2008-02-21 02:45:35

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: CVS, SVN, Mercurial, Darcs, git - which one?

Interesting article on using mercurial to track your /etc directory:  http://michael-prokop.at/blog/2007/03/1 … on-debian/.  Uses debian, but still...

Does anyone know if there's anything similar to that apt Post-Invoke command for pacman?

Offline

Board footer

Powered by FluxBB