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

XML/DTD as Text

From: John Peacock <john.peacock_at_havurah-software.org>
Date: Sun, 10 Feb 2008 21:24:41 -0500

I just thought I'd report to the list(s) that I don't have an easy fix for
treating application/*** as text by either setting a new property (is_text
seemed to have some weight), or by simply extending svn:eol-style to overload
the textual nature of a given file.

It might be possible to, as an interim step towards customized diff mappings, to
simply say that any file with svn:eol-style set was by default a text document,
and hence to support normal diff/merge/blame operations. However, it is not a
simple change, since there are a number of places in the codebase where
is_binary is called, which *only* references the cached svn:mime-type property,
and where the svn:eol-style might not be as readily available.

Besides, there seems to be a strong sentiment to move to an RC for 1.5 in the
very near future, so it appears that this is the wrong time to go for large
scale changes.

Sorry I couldn't be more positive, or to produce a magically simple change that
would make this all work easily. I will however note that until such time as
Subversion does support a flag, you can use --force with both diff and blame
(though not with merge) and override the binary-ness of the file, so it isn't
completely hopeless now.

John

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-02-11 03:24:35 CET

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