[darcs-users] Binary autoboxing

David Roundy droundy at abridgegame.org
Tue Jan 25 13:13:48 UTC 2005


On Mon, Jan 24, 2005 at 11:25:02AM +0200, Yuval Kogman wrote:
> Howdy...
> 
> I propose herein a solution to binary patch issues, somewhat
> inspired by the repository sensitive
> 
> 	darcs setpref test "foo"
> 
> commands.
> 
> The idea is basically this:
> 
> 	darcs setpref binary_decompose 
> 	darcs setpref binary_compose
> 
> these two prefs contain scripts which are given two arguments, the
> binary file, and a directory. Decomposing takes the binary file, and
> creates a more verbose, human oriented representation of the binary
> file inside the directory. Composition does the opposite.
> 
> The decompose/compose cycle is assumed to be lossless, that is
> 
> 	x = compose(decompose(x))

The catch is that to work in the presence of merges, conflicts and
cherrypicking, the compose and decompose would also need to succeed on all
input, and that would rule out most useful implementations of the binary
decomposition.
-- 
David Roundy
http://www.darcs.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20050125/6e825255/attachment.pgp 


More information about the darcs-users mailing list