lkml.org 
[lkml]   [2005]   [Apr]   [8]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 08 Apr 2005 16:46:19 -0700
FromTupshin Harper <>
SubjectRe: Kernel SCM saga..
Roman Zippel wrote:

>Preserving the complete merge history does indeed make repeated merges 
>simpler, but it builds up complex meta data, which has to be managed 
>forever. I doubt that this is really an advantage in the long term. I 
>expect that we were better off serializing changesets in the main 
>repository. For example bk does something like this:
>
>	A1 -> A2 -> A3 -> BM
>	  \-> B1 -> B2 --^
>
>and instead of creating the merge changeset, one could merge them like 
>this:
>
>	A1 -> A2 -> A3 -> B1 -> B2
>
>This results in a simpler repository, which is more scalable and which 
>is easier for users to work with (e.g. binary bug search).
>The disadvantage would be it will cause more minor conflicts, when changes 
>are pulled back into the original tree, but which should be easily 
>resolvable most of the time.
>
Both darcs and arch (and arch's siblings) have ways of maintaining the 
complete history but speeding up operations.

Arch use's revision libraries:
http://www.gnu.org/software/gnu-arch/tutorial/revision-libraries.html
though i'm not all that up on arch so I'll just leave it at that.

Darcs uses "darcs optimize --checkpoint"
http://darcs.net/manual/node7.html#SECTION00764000000000000000
which "allows for users to retrieve a working repository with limited 
history with a savings of disk space and bandwidth." In darcs case, you 
can pull a partial repository by doing "darcs get --partial", in which 
case you only grab the state at the point that the repository was 
optimized and subsequent patches, and all operations only need to work 
against the set of patches since that optimize.
Note, that I'm not promoting darcs for kernel usage because of speed (or 
the lack thereof) but I am curious why Linus would consider monotone 
given its speed issues but not consider darcs.

-Tupshin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-04-09 01:50    [from the cache]
©2003-2008