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

Re: merge-docx.js doesn't start up Word 2007

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 21 Nov 2008 09:29:07 +0100

Erik wrote:
> I'm probably very impatient, but I would really like it if someone
> could point me in the right direction, I'm stuck on the issue!
> Has the fact that the "resolve conflict" buttons aren't shown anything
> to do with the merge-docx.js script, or not?

not with the scripts, no.

> If so, what can I change in the script to make them appear?

No, sorry.
See below for more info...

>>
>> I've been trying to use subversion and tortoise to merge my Word
>> 2007 .docx files and ran into some difficulties.
>>
>> The default diff functionality works fine > it starts Word in "diff"
>> mode with both files loaded.
>>
>> However, the default merge-docx.js script does not seem to work. When
>> I try to merge two files from two different branches tortoise tells me
>> there is a conflict, but the "resolve conflict" buttons are not
>> available (both "edit conflict" and "resolved" are greyed out).

'live' conflict resolving during a merge only works with text files.
Your office files are binary.
You have to use "resolve later" for those files during a merge or chose
mine or theirs.

If you chose "resolve later", then after the merge has finished you can
then use the edit-conflicts function (which then uses the merge script).

>> I would expect the buttons to be available and to start word 2007 in
>> Merge mode. I've seen on the Microsoft developer site that there are
>> methods that can be called (MergeDocuments), but I'm not familiar with
>> scripting and don't know how to adjust the merge-docx.js file so it
>> works.

I don't even have MS office installed, so I definitely won't be able to
help you improve the scripts.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net

Received on 2008-11-21 09:29:22 CET

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