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

Re: Problem with using SVN wih docx files

From: Michael Schlenker <michael.schlenker_at_contact-software.com>
Date: Mon, 23 Feb 2015 19:10:11 +0100

Am 23.02.2015 um 18:57 schrieb Mahmood N:
> Hello,
> I am using TortoiseSVN and have successfully worked with text files for an creating revisions for an academic paper.
> Now I am trying to use it with a word document. I have created a repository and added a single docx file in the trunk folder. Then I follow these steps:
>
> 1- commit the empty docx
> 2- add a sentence and save
> 3- commit
> 4- add another sentence and save
> 5- commit
>
> Then I open the "show log" and select the two revisions and select "show differences as unified diff". But the opened window contains crappy character which means it didn't compare the texts inside the docx file.
>
> Is there any way to fix that? Am I missing something?

Fix: Not really, in theory maybe.

Yes. You miss something.
Binary files produce crappy diffs. docx is a binary format.

If you had a proper toolchain (a svn compatible patch/diff tool for docx
that understands the format) it could be made to work, but there is no
such tool. Word has its own tools to do diffs and revisions, you might
be better off using that.

Michael

-- 
Michael Schlenker
Senior Software Engineer
CONTACT Software GmbH           Tel.:   +49 (421) 20153-80
Wiener Straße 1-3               Fax:    +49 (421) 20153-41
28359 Bremen
E-Mail: michael.schlenker_at_contact-software.com
http://www.contact-software.com/
Registered office: Bremen, Germany
Managing directors: Karl Heinz Zachries, Ralf Holtgrefe
Court of register: Amtsgericht Bremen HRB 1321
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3100722
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-02-23 19:10:52 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.