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

Re: Autoexpanding ZIP archives?

From: Phillip Susi <psusi_at_cfl.rr.com>
Date: 2005-12-07 20:39:00 CET

Good point. Sometimes I will change a block of C code by wrapping it in
a conditional or loop. The real change is to add maybe one or two
lines, and add another tab to indent 50 lines one more level.
Subversion diffs out and stores all 52 lines rather than just the 2 new
lines, and recognizing that the other 50 lines just got another tab
prefixed ( a one byte change per line, which is exactly the same on all
50 lines ). A smarter diff engine would be nice for that.

Malcolm Rowe wrote:
> The original poster was, I believe, talking about OpenOffice.org
> documents, which sound like a fine thing to store in a version control
> system.
> Note that the same argument essentially applies to any structured
> document for which there is a 'better' (more space efficient, better able
> to represent changes) delta mechanism than a binary diff: zip files,
> compound OLE documents (e.g., Microsoft Office files), XML files,
> potentially even C code.
> This is just the storage equivalent to the 'custom diff tool for different
> document types' issue.
> Regards,
> Malcolm

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 7 20:46:12 2005

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.