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

RE: I think I found a bug in TortoiseSVN, Unable to diff Docm documents

From: Helder Magalhães <helder.magalhaes_at_gmail.com>
Date: Tue, 6 Oct 2009 04:02:19 -0700 (PDT)

Hi Kristoffer,

> I think I have found a bug in TortoiseSVN.

TSVN has no bugs [1]! ;-)

> I am writing a document in Microsoft Word
> 2007. In the start I used the new format
> with docx. [...] But later on I
> implemented some macros in my document.
> And in Word 2007 you need to save the file
> as a "Word-document with macros", .docm.
> But now I don't have the possible to
> compare the revision because TortoiseSVN
> is trying to compare the revision with
> TortoiseSVN diff/merge tool, and it fails
> and says that it is not a text file.

True, this is the expected behavior [2]: the file isn't being identified as text, probably due to its MIME type, "application/vnd.ms-word.template.macroEnabled.12" [3].

> So I think that TortoiseSVN needs some
> simple fix to say that the .docm file
> should be treated as .docx documents.

You may find more information about it and how to configure your client and/or server to avoid this in the first link [2]. ;-)

Hope this helps,
 Helder

[1] http://catb.org/~esr/faqs/smart-questions.html#id382249
[2] http://subversion.tigris.org/faq.html#binary-files
[3] http://www.bram.us/2007/05/25/office-2007-mime-types-for-iis/

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2404016

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-10-06 13:02:26 CEST

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.