[darcs-users] seamless git integration

Petr Rockai me at mornfall.net
Thu Dec 9 12:00:14 UTC 2010


"Stephen J. Turnbull" <stephen at xemacs.org> writes:

> Indeed.  A standard hunk darcs-patch can be expressed efficiently
> (enough, in smallish repos) as a pair of git-tree objects.

Unfortunately, this is not completely true. This only works as long as
you freeze the diffing algorithm. Any subtle change in the differ while
using the above representation will introduce ever so subtle merge bugs
that will be (basically) impossible to track down.

> However, for doing darcsy stuff, you'd really want the patches
> themselves.  Interestingly enough, in a packed format repo, *most*
> versions are represented as patches IIUC.

As binary deltas. But these are unrelated to actual history. It is just
a compression heuristic.

Yours,
   Petr


More information about the darcs-users mailing list