[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Subversion saved the day

From: Casper Hornstrup <ch_at_csh-consult.dk>
Date: 2005-07-28 20:19:48 CEST

> -----Original Message-----
> From: Eric S. Raymond [mailto:esr@snark.thyrsus.com]
> Sent: 28. juli 2005 19:54
> To: gpsd-dev@lists.berlios.de; gpsd-users@lists.berlios.de
> Cc: dev@subversion.tigris.org
> Subject: Subversion saved the day
>
> For anybody on the GPSD mailing list who missed it, the last hour of
> traffic is among other things a demonstration that moving gpsd to a
> Subversion repository was a Good Thing.
>
> When Rob's report of total breakage came in, we were at rev 3027.
> The way I zeroed in on the bug was to svn -r up 2900, build, test
> on a live GPS, and verify that it worked. Thereafter I binary-searched
> the revision sequence looking for the commit that broke communication
> with the GPS.
>
> Because of Subversion's unitary commits on the whole tree, there was
> only one revision sequence for the whole tree. Under RCS or CVS I
> could only have searched this way if I'd had the foresight to tag
> every single group of commits. But with Subversion I found the bad
> commit in less than ten minutes and had it backed out in another
> thirty seconds.
>
> OK, it helps that the bad commit was late last night rather than three
> weeks ago. But the search cost would only have risen as the log2 of
> time. This is a very efficient way to pin down breakage.
>
> Thank you, Subversion maintainers. Take a bow; you've earned it.
> --
> Eric S. Raymond

If you have the computational power for it, you could build binaries
of every revision using an automated process. We do this at the
ReactOS FOSS project and it saves us quite a bit of time when tracking
down and fixing regressions. Subversions atomic commits is what makes
this possible.

Casper

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 29 01:16:51 2005

This is an archived mail posted to the Subversion Dev mailing list.