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

Re: [opencm-dev] Re: [Prcs-list] [Prcs-cvs-list] Diff/Comparison of file formats others than ASCII/source code?

From: Jonathan S. Shapiro <shap_at_eros-os.org>
Date: 2002-08-14 02:43:42 CEST

On Thu, 2002-08-08 at 23:08, Donovan Baarda wrote:

> Any merge/diff3 operation must be file-format aware to get it right. Text is
> a nice common denominator that the existing unix diff3 can handle. Something
> like a HTML/XML/RTF aware diff3 could be relatively easily implemented as a
> postprocessing stage to merges produced by the standard diff3 because they
> use text as their underlying format.

True, but not helpful. Most tools that export HTML export it without
newlines, making line-based diff essentially useless.

IBM has a decent DOM diff program for XML that could be readily adapted
to HTML. I think that I'ld be inclined to go that way rather than try to
hack up diff for this purpose.

shap

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 14 06:39:17 2002

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.