You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by David Abrahams <da...@boost-consulting.com> on 2004/12/07 14:38:33 UTC
Smarter Merging?
I know it's on the SVN "todo" list, and I'm sure it's harder than
it looks and people much more knowledgeable than I have probably
thought more deeply about it, but...
...It *seems* like it should be fairly easy to implement
something that uses properties to keep track of which revisions'
changes have been included in any revision of a file. From there
doing a smart merge is "just" a matter of repeatedly merging the
disjoint difference ranges between these two lists. The whole
scheme could be built into a proof-of-concept wrapper over svn to
begin with.
Any further insight into this problem would be much appreciated.
Thanks,
<waits nervously to be shot down>
--
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Smarter Merging?
Posted by Ben Collins-Sussman <su...@collab.net>.
On Dec 7, 2004, at 8:38 AM, David Abrahams wrote:
> I know it's on the SVN "todo" list, and I'm sure it's harder than
> it looks and people much more knowledgeable than I have probably
> thought more deeply about it, but...
>
> ...It *seems* like it should be fairly easy to implement
> something that uses properties to keep track of which revisions'
> changes have been included in any revision of a file. From there
> doing a smart merge is "just" a matter of repeatedly merging the
> disjoint difference ranges between these two lists. The whole
> scheme could be built into a proof-of-concept wrapper over svn to
> begin with.
>
> Any further insight into this problem would be much appreciated.
>
How about the fact that it's "merely" taken hundreds of engineers at
least 10 years of coding to get this "simple feature" implemented
correctly in ClearCase and AccuRev? :-)
There are many smart-merging problems to solve, and this is just one of
them. You can read about some of the other ones here:
http://svn.collab.net/repos/svn/trunk/notes/merge-tracking.txt
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: Smarter Merging?
Posted by Dale Worley <dw...@pingtel.com>.
From: David Abrahams
> ...It *seems* like it should be fairly easy to implement
> something that uses properties to keep track of which revisions'
> changes have been included in any revision of a file. From there
> doing a smart merge is "just" a matter of repeatedly merging the
> disjoint difference ranges between these two lists. The whole
> scheme could be built into a proof-of-concept wrapper over svn to
> begin with.
There is a contributed program called "svnmerge" that does a great deal of
this.
Dale
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org