I use svn to store the revisions of my specification files, written with oowrite (OpenOffice.org). I cannot find the way to compare different revisions of my odt files. It complains that they are binary.
Is there any tool or plugin to compare odt files stores in svn repository?
Open the edited document that you want to compare with the original document. Select Edit > Compare Document. An open document dialog appears. Select the original document and click Insert.
If you want to see the differences between a file in your working copy, and a file in any Subversion repository, you can do that directly in explorer by selecting the file then holding down the Shift key whilst right clicking to obtain the context menu. Select TortoiseSVN → Diff with URL.
Go to the repository browser (<right click>/TortoiseSVN/Repo-browser/<enter URL>). Open right click menu on branch B, select 'Mark for comparison'. Then open right click menu on branch A, select 'Compare URLs' or 'Show differences as unified diff'.
Use oodiff like this : oodiff -u myfile.odt
and if it's a file which is in a SVN workspace it will compare the current version with the one on the server and display the difference in a textual way in the console (requires the installation of odt2txt
).
If you are on Windows you can use TortoiseSVN, which installs VBScript files for comparing and merging ODF documents as well as Microsoft Office documents.
You will find these scripts in the folder
C:\Program Files\TortoiseSVN\Diff-Scripts
and you can also modify these scripts to your needs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With