Re: xdelta3 - how to apply a patch file?



On Jul 28, 4:57 pm, fogfox...@xxxxxxxxx wrote:
On Jul 27, 7:54 pm, "semafus...@xxxxxxxxxxxxxx"

<semafus...@xxxxxxxxxxxxxx> wrote:
I find xdelta3 baffaling. This tool is meant to be able to create and
then apply a binary patch.
[...]
Does anyone know the syntax for getting xdelta3 to apply a patch ??

yes; any more questions? ;)

and to prove, that there's someone, who figured out the syntax:

apply patch: xdelta3 -d patch
or apply patch: xdelta3 -d -s original.foo modified.bar
create patch: xdelta3 -s original modified > patch

"original", "modified" and "patch" are file names;
patch contains two file names (original and modified)
and the compressed changeset,

that's why the first patch-apply example works;
the secont patch-apply example shows how to apply a patch with,
if you have the original file under a different name
and if you wan't your patched file to have a different name

edit:
"or apply patch: xdelta3 -d -s original.foo modified.bar" should read:
"or apply patch: xdelta3 -d -s original.foo patch modified.bar"

I'll chime in again if I find another mistake on my part;
this was fogfox;
thinking so you don't have to ;)
have a nice one

.



Relevant Pages

  • Re: xdelta3 - how to apply a patch file?
    ... then apply a binary patch. ... Does anyone know the syntax for getting xdelta3 to apply a patch ?? ...
    (comp.compression)
  • Re: web updates that work with binary patches?
    ... Which support running the binary patch on the client to ... >with regular files (not binary patches). ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: J2 paper 0.2.1
    ... swinging it in favour of @ syntax. ... The patch doesn't implement the ... as CVS @-syntax, rather than just 2.4a2. ... I'm only ever going to be an occasional user of decorators, ...
    (comp.lang.python)
  • Re: Patch MS03-011 for Windows XP SP1
    ... install patch MS03-011 for Windows XP SP1. ... I used the same syntax ... Why won't this run through SMS 2003? ... > when using this syntax from the command line. ...
    (microsoft.public.sms.swdist)
  • RE: J2 paper 0.2.1
    ... way toward allowing a stronger statement in the doc. ... swinging it in favour of @ syntax. ... The patch does not support decorating classes, ... The PEP says 2.4 will see only function decorators. ...
    (comp.lang.python)