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

Re: Prototype design for merge tracking in Subversion

From: David James <djames_at_collab.net>
Date: 2006-02-13 03:55:16 CET

On 2/12/06, Branko Èibej <brane@xbc.nu> wrote:
> But first of all, you can't just come up with some database schema to
> "solve merge tracking" without first spelling out the actual problems
> you're trying to address.

Please see the list of problems below, quoted from
  http://svn.haxx.se/dev/archive-2006-02/0701.shtml

> On 2/12/06, David James <djames@collab.net> wrote:
> > Problem #1: What revisions need to be merged from "trunk" to "branch"?
> > Problem #2: What branches contain this change?
> > Problem #3: What branches contain this exact version of this file?
> > Problem #4: Where has this file been copied?
> > Problem #5: Is this version of 'foo.c' the latest version? Has this file
> > perhaps been updated on a branch?

The above list is by no means a complete list of all the problems that
merge tracking has to solve. If you've got more ideas as to what merge
tracking should do, let me know, and I'll incorporate your
suggestions.

> Second of all, an SVK-like wrapper (with its own database, even) isn't
> going to solve merge tracking in *Subversion*, however hard you try.
> This is something we have to solve on the repository and/or client
> library level, not in some add-on tool.

You're right. If we integrated merge-tracking into the core libraries,
we'd be done. But, before we do that, I think it'd be a good idea to
carefully think through what we want to do. For this reason, I think
it'd be a good idea to put out a prototype design first.

> Starting on any kind of prototype without doing the necessary design work first
> is the worst possible thing we could do for SVN, because we're almost guarantee
> to screw up along the way, and we'd get yet another can of worms to fix in 2.0.

The big benefit of a 'quick prototype' is that, if you screw up, it
doesn't cost that much -- it's just a prototype! You can start fresh,
and learn from your mistakes. That said, if you'd like to read a
detailed design, please read the rest of my email, at:
     http://svn.haxx.se/dev/archive-2006-02/0701.shtml

Cheers,

David

--
David James -- http://www.cs.toronto.edu/~james
Received on Mon Feb 13 03:55:52 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.