[EMAIL PROTECTED] wrote:
Unfortunately when subversion considers a file to be a binary file, it
does not seem to support a diff visible to the user.
Nor would I expect it to. It /is/ after all, a binary diff. If you want
to compare the files you'd use OpenOffice.
A proper .odt diff
should generate a diff file that shows the difference in context.
What would the the advantage of getting *Subversion* to do that? The
context is inside a zipped XML file that relies on other XML files in
the ZIP archive to be properly interpreted. Consider a simple diff:
- <text:p style-name="P3">This is a paragraph...
+ <text:p style-name="P5">This is a <text:span style-name="C2">paragraph...
This is about as simple as the diff could get. And it doesn't tell you
much that is useful.
And what if P3 and P5 are the exact same style, and it just changed
because in OOo every time you hit "save" it generates the styles again?
Then subversion is showing you a change that is no change at all.
If you want to compare ODT files you should use a different tool.
I believe such a
diff application for ODF documents would be quite usefull in many
environments.
In all honesty, I think it would not be useful at all. It'd just make
the commit slower. What you want is OOo's compare documents feature.
Cheers,
Daniel.
--
/\/`) http://oooauthors.org
/\/_/ http://opendocumentfellowship.org
/\/_/
\/_/ I am not over-weight, I am under-tall.
/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]