public inbox for cygwin-talk@cygwin.com
 help / color / mirror / Atom feed
* cvs vs. svn vs. git vs.... (was: Cygwin 1.7 release)
       [not found]               ` <20090604194009.GB23519@calimero.vinschen.de>
@ 2009-06-04 20:58                 ` Warren Young
  2009-06-05  1:27                   ` Christopher Faylor
  0 siblings, 1 reply; 2+ messages in thread
From: Warren Young @ 2009-06-04 20:58 UTC (permalink / raw)
  To: The Cygwin-Talk Maiming List

Corinna Vinschen wrote:
> 
> I still don't understand why everybody is moving away from CVS.

0. Far cleaner versioning scheme: just rXXXX, instead of CVS's 
x.y.z.q.omega.hairball mess.  I guess this might annoy those who keep 
their repository versions in step with their public version numbering 
scheme, but I always found it a pain to renumber my CVS repo when there 
was a new major release.  And keeping minor releases in step? 
Fuggeddaboudit.

1. svn rm really removes files, doesn't just hide them in the Attic. 
(It's still there, part of the older revisions, just not visible further 
down that branch.)

2. svn rmdir really removes a directory.  You can later svn mkdir the 
same path, and it will not drag in the version history for the old files 
that used to be in that place.  (Ditto svn mv when renaming a directory. 
   Do that in CVS, and you can never use the directory name again!)

3. svn mv more closely approximates a real move.  It's still an add and 
delete on the back end, but because both changes are part of the same 
revision, and revisions are atomic.

4. Atomic checkins.  If CVS fails during a checkin, you get a partial 
checkin, usually requiring manual cleanup.  With svn, it either 
completes successfully, or it rolls the whole checkin back out.

5. Far cleaner ssh tunneling support

6. Unix tools hide .svn subdir, but not CVS

7. svn is less likely to break "special" files: keyword substitution is 
disabled by default, binary files aren't special, it knows the 
cross-platform rules for newlines, it knows about file modes like 
"executable" on POSIX systems...  You can arm-twist cvs into fixing a 
lot of these problems, but svn just does it right out of the box, and it 
tends not to break later.

> Seems like other SCMs,
> especially git, are just en vogue right now.

Last week I was wishing my OSS project were using git instead of svn.

Gna's repository server blew up again, losing several days -- weeks, 
initially, until they discovered a newer backup -- worth of repository 
data for the 1200+ projects they host.  Those using git just re-pushed 
their local repository copy and were back in business.  Those of us on 
the non-DVSCes lost any checkins made during the period between the 
backup and the crash.

Asked about his backup strategy years ago, Linus said he didn't make 
backups, because all the stuff he cared about was replicated on FTP, 
news, and mail servers all over the world.  As far as software goes, 
that ignores the pain of losing the play-by-play checkin history.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cvs vs. svn vs. git vs.... (was: Cygwin 1.7 release)
  2009-06-04 20:58                 ` cvs vs. svn vs. git vs.... (was: Cygwin 1.7 release) Warren Young
@ 2009-06-05  1:27                   ` Christopher Faylor
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Faylor @ 2009-06-05  1:27 UTC (permalink / raw)
  To: cygwin-talk

On Thu, Jun 04, 2009 at 02:57:45PM -0600, Warren Young wrote:
>Corinna Vinschen wrote:
>> 
>> I still don't understand why everybody is moving away from CVS.
>
>0. Far cleaner versioning scheme: just rXXXX, instead of CVS's 
>x.y.z.q.omega.hairball mess.  I guess this might annoy those who keep 
>their repository versions in step with their public version numbering 
>scheme, but I always found it a pain to renumber my CVS repo when there 
>was a new major release.  And keeping minor releases in step? 
>Fuggeddaboudit.

I think it was basically a rhetorical question.

Most of the benefits that people wave pom poms about for other SCMs
don't really apply to Cygwin.

>Asked about his backup strategy years ago, Linus said he didn't make 
>backups, because all the stuff he cared about was replicated on FTP, 
>news, and mail servers all over the world.  As far as software goes, 
>that ignores the pain of losing the play-by-play checkin history.

I think that's a pretty compelling reason to use git actually.  When
sourceware went down a couple of days ago, I was dreading the thought
that it could have been disk corruption.  With a distributed SCM most
of the damage would have been ameliorated.

cgf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-05  1:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1244061552.9556.1318646127@webmail.messagingengine.com>
     [not found] ` <20090604091627.GS23519@calimero.vinschen.de>
     [not found]   ` <2bf229d30906040403o17d43ef5q5ccfdbb5f54977ae@mail.gmail.com>
     [not found]     ` <4A27B4DB.7030801@gmail.com>
     [not found]       ` <2bf229d30906041045x2832e7b5xc22a8f344ee8ba92@mail.gmail.com>
     [not found]         ` <20090604175811.GB753@ednor.casa.cgf.cx>
     [not found]           ` <20090604182311.GZ23519@calimero.vinschen.de>
     [not found]             ` <20090604184827.GD753@ednor.casa.cgf.cx>
     [not found]               ` <20090604194009.GB23519@calimero.vinschen.de>
2009-06-04 20:58                 ` cvs vs. svn vs. git vs.... (was: Cygwin 1.7 release) Warren Young
2009-06-05  1:27                   ` Christopher Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).