File: ANNOUNCE.xdelta

package info (click to toggle)
prcs 1.2.11-7
  • links: PTS
  • area: main
  • in suites: slink
  • size: 2,748 kB
  • ctags: 3,097
  • sloc: cpp: 16,675; ansic: 5,725; sh: 4,887; lisp: 1,449; lex: 344; perl: 131; makefile: 131; pascal: 85
file content (81 lines) | stat: -rw-r--r-- 3,081 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
I have placed version 0.15 of XDELTA, a binary delta generator and
prototype RCS-replacement program at:

  ftp://www.xcf.berkeley.edu/pub/jmacd/xdelta-0.15.tar.gz

The program has not previously been widely announced but has attracted
a fair amount of attention and so I am releasing new version with
bug-fixes, build-problem-fixes, and several enhancements that I've been
sitting on for the last 6 months.

The version number wasn't really supposed to indicate a premature
stage of development, rather it indicates that much of the code will
change before the program stabilizes.  However, the delta and patch functions
are stable and I encourage their use.  The RCS-like component of xdelta
needs improvement, the first change will be to throw out gdbm, and changes
will likely come about when I integrate it with PRCS.

The patch file format has changed slightly but this version retains backward
compatibility and will read patches generated by previous versions.

** Enhancements

* Integrate the zlib compression library (only tested with 1.1.2, but
  should work with 1.0.x):

  * the delta utility now compresses patches automatically, a numeric
    flag sets compression level much like gzip.  the patch utility
    reads the patches directly.  for example:

       xdelta delta -9 FROM TO OUT

    uses zlib compression on the contents of OUT with the compression
    level set to 9.  The default compression level is that of zlib, and
    -0 turns off compression.

    The patch utility can apply the above patch without uncompressing,
    so it is no longer necessary to distribute xdelta patches compressed
    with a .gz suffix.

  * the delta utility automatically uncompresses either FROM or TO if
    they are compressed, because compressed files do not delta well.
    the patch utility automatically performs the same compression.

These two enhancements reduce the number of steps required to
distribute compact deltas between two .tar.gz files.  There is no
bzip2 support at this time, though the patch header has left room for
future enhancements.  An example of how to use xdelta on two .tar.gz
files:

    xdelta delta from.tar.gz to.tar.gz from-to.xd

This command create from-to.xd, the patch.

    xdelta patch from.tar.gz from-to.xd to.tar.gz

restores to.tar.gz from the patch.  Note that the same compression
settings are not necessarily used so the reconstructed to.tar.gz may
differ from the original, but the uncompressed versions will be
identical.

Xdelta still performs MD5 checksum verification on all files and
reliably report errors in its own reconstructions.  No such errors
have been reported since the first public release of xdelta.

For more information, see

	http://www.xcf.berkeley.edu/~jmacd/xdelta.html

The upcoming PRCS 2.0 (expect this in Summer 1998) will use xdelta as
a base for its client-server protocol.  Information on PRCS is
available at:

	http://www.xcf.berkeley.edu/~jmacd/prcs.html

** Bug fixes:

* xdelta no longer has an assertion failure on certain, short files.

** Build fixes:

* correct use of strerror()