[Tinyos Core WG] Re: Subversion, was Re: Updates to BlockStorage
Cory Sharp
cory at moteiv.com
Thu Sep 21 17:28:17 PDT 2006
On 9/21/06, Philip Levis <pal at cs.stanford.edu> wrote:
>
> On Sep 21, 2006, at 5:02 PM, Cory Sharp wrote:
>
> >
> > I don't currently heavily access the TinyOS 2.x repository, so take
> > this message for whatever it's worth. But, it sounds like in this
> > strategy being able to use branches more effectively could help a
> > lot. Subversion makes branches really easy (svn copy, svn merge,
> > and svn switch are all you need). You could reasonably experiment
> > with Subversion by treating the SVN tinyos-2.x/trunk just like the
> > CVS tinyos-2.x HEAD. Then, folks could use subversion to branch,
> > develop, and merge against trunk. I suppose keeping the CVS HEAD
> > and SVN trunk consistent could become a headache. But, I only
> > mention it because branching and merging in SVN is way easy, and
> > the benefits may outweigh the pain.
> >
>
> Yeah, Subversion is much much better at this.
>
> We talked a while back about moving to Subversion; a lot of people
> commented that it was really nice. I started using it for papers, and
> ended up hating it. Because it relies on a backing database, you can
> corrupt that database. This happened *a lot* for me (read: every 4 or
> 5 checkins) and is a pain to fix (read: you have to run a local
> script as root). This might have just been my incompetence, but it
> certainly chilled any motivation I had to do the switch.
>
> Phil
>
Yeah, that was a problem with the way Subversion used the Berkeley DB
backend. Subversion has since created their own FSFS backend. When
creating a repository in SVN, you can select its backend with a command line
switch. I've been using the FSFS backend on my own repository of code for
over a year with about 1000 commits and haven't had one problem. (Fwiw, as
of Subversion 1.4, they've supposedly fixed their BDB problem, as well, but
I'm not sure how/if that yet applies to SourceForge SVN repos.)
Cory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-2.0wg/attachments/20060921/450d1e2d/attachment.htm
More information about the Tinyos-2.0wg
mailing list