GIT vs. CVS vs. SVN

Jerry Feldman gaf-mNDKBlG2WHs at public.gmane.org
Wed Nov 10 15:02:18 EST 2010


On 11/10/2010 01:34 PM, Kent Borg wrote:
> Jerry Feldman wrote:
>> Over the years I have used many source control projects ranging from 
>> IBM mainframe to SCCS
>
> Ah, the perversion of typing "make" in a completely empty directory 
> and having an executable magically appear, as "make" figured out how 
> to checkout implicit stuff from SCCS. (Maybe other systems can do 
> that, too, but SCCS is where I saw it.)
>
>> I do need to make sure that all the data is backed up properly.
>
> Being distributed, git is actually very good at backing up stuff, at 
> least if you have people working together and sharing code. The cool 
> key is identifying things by hash, which git guarantees matches the 
> data it returns. Say 7fefb92 in my Linux tree and git figures out I 
> mean 7fefb924d7aed7116fe2a68cdbfc9e36318e7300 (if it had been 
> ambiguous I might have to stick on another digit or two), and anyone 
> else with a Linux tree knows I am talking about a 27-line whitespace 
> patch to pmc551.c, by David Woodhouse, in September of 2006. So though 
> I can rain great confusion on my own tree, if I still have the hash 
> tag and you still have the hash tag, I at least know my copy of the 
> files matches your copy at that hash. And I know the hash of the 
> ancestor and that it will match your hash of the ancestor. (And so I 
> can work all the way back to 1da177e4 with certainty that, if I have 
> the data, I have the right data.) Combine that with it being so easy 
> to type "git clone" and "git push" and your data can be pretty durable.
>
>
> -kb, the Kent who is still learning git (and who still uses rcs, on 
> /etc files).
>
>
Actually, Makefile also has hooks into RCS. We use RCS on the BLU 
servers for things like named zone files, but some of us sometimes 
forget to check things in :-)

-- 
Jerry Feldman<gaf-mNDKBlG2WHs at public.gmane.org>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846






More information about the Discuss mailing list