[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

XML/vcdiff as patch file

From: Bob Miller <kbob_at_jogger-egg.com>
Date: 2000-10-05 20:05:36 CEST

Some of us have said that we think the svn XML format would be useful
as a patch file. I'm not so sure, though.

The original patch file, as created by "diff -c" and, later, "diff
-u", has enough redundant info that the patch can be applied to a
somewhat different base file, and patch can usually figure out how to
apply the changes. People use this feature a lot.

The XML/vcdiff format, on the other hand, is compressed to within an
inch of its life, and has no redundancy. If you don't have access to
the exact version of the file that the vcdiff applies to, the vcdiff
is useless.

This means that people won't be able to use XML/vcdiff files in many
of the ways they currently use patches. Hang out on the Linux kernel
developers' list for the premier example of patch abuse, or unpack the
source RPM of a large package. (kernel-*.src.rpm is again a good
example.)

Just something to think about...

-- 
                                        K<bob>
kbob_at_jogger-egg.com, http://www.jogger-egg.com/
Received on Sat Oct 21 14:36:10 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.