[lkml]   [2002]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: A modest proposal -- We need a patch penguin
cc list trimmed.

On Thu, 31 Jan 2002 09:19:14 -0800,
Larry McVoy <> wrote:
>On Thu, Jan 31, 2002 at 11:13:37AM -0600, Troy Benjegerdes wrote:
>> Can you detect the 'collapsed vs full version' thing, and force it to be
>> a merge conflict? That, and working LOD support would probably get most
>> of what I want (until I try the new version and find more stuff I want
>> :P)
>Are you sure you want that? If so, that would work today, it's about a
>20 line script. You clone the tree, collapse all the stuff into a new
>changeset, and pull. It will all automerge. But now you have the detailed
>stuff and the non-detailed stuff in the same tree, which I doubt is what
>you want. I thought the point was to remove information, not double it.

That sounds almost like what I was looking for, with two differences.

(1) Implement the collapsed set so bk records that it is equivalent to
the individual patchsets. Only record that information in my tree.
I need the detailed history of what changes went into the collapsed
set, nobody else does.

(2) Somebody else creates a change against the collapsed set and I pull
that change. bk notices that the change is again a collapsed set
for which I have local detail. The external change becomes a
branch off the last detailed patch in the collapsed set.


I have individual changes c1-c17 which are not externally visible.

Tell bk to generate collapsed patch A from c1-c17. A is externally
visible, without the detailed internal change history of c1-c17. This
is the equivalent of exporting a patch but it is recorded in bk.

I continue development with c18 onwards, based off c17.

Somebody makes change B against A. B is externally visible.

I pull B. bk recognises that B is against A for which local data
exists and therefore B is not really against A but is against c17.
bk creates B as a branch against c17, in parallel with c18.

Outside world sees A->B. I see A[c1-c17], c17->c18 ..., c17->B (two

That processing model hides all the backtracking and partial checkins
from the outside world, which only sees the final patchset A, no
information overload. It allows me to continue with internal
development with all the information that I need. And it allows me to
automatically take back changes, identify that the changes are in
parallel to my internal changes and merge while keeping local details.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:16    [W:0.233 / U:16.060 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site