[Joshua, please look at the last two paragraphs.]

> How to make xdeltas?  Can you provide some information how to handle
> those files? Is it like diff and patch?

xdelta 1.1.3 (don't use 2.x which has different purposes) produces
`binary diffs', so to say.  Assuming you have foo-1.1.tar.gz and
foo-1.2.tar.gz, say

  xdelta delta foo-1.1.tar.gz foo-1.2.tar.gz foo-1.1-1.2.tar.gz.xdelta

to get a binary diff between the two compressed tarballs.  It can be
then applied to foo-1.1.tar.gz with

  xdelta patch foo-1.1-1.2.tar.gz.xdelta

(foo-1.1.tar.gz must be in the same directory) to create
foo-1.2.tar.gz.

xdelta has special code to handle gzipped archives (it decompresses
them automatically); it doesn't work with other compressed archive
formats like .bz2 or .zip -- well, it works, but the xdelta will
become as big as the original archive.

It might be a nice idea to add `--use-compress-program=PROG' (similar
to the tar program) to overcome this restriction.  Joshua, I've just
seen that version 3 has appeared on xdelta.org.  Are you planning to
implement something like that?  And can xdelta3 handle deltas create
by xdelta version 1.1.3?


    Werner

--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to