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

Re: Make diff-doc.js use Merge instead of Compare for documents with existing Track Changes.

From: Jared Silva <jayrod_at_gmail.com>
Date: 2006-11-08 15:59:41 CET

Jared Silva wrote:
> In Word 2003, diff-doc.js will fail when using Compare for documents
> with existing Track Changes:
>
> Windows Script Host
> Script: ...\diff-doc.js
> Line: 44
> Char: 1
> Error: Command failed
> Code: 800A1066
> Source: Microsoft Word
>
> Personally, to get a good Compare from Word I "Accept All Changes in
> Document" (necessary for Compare to work) and "Delete All Comments in
> Document" (Word does not Compare comments, so they only get in the
> way) for both the Base and New documents. If you all can make this
> happen automatically, go for it, for I know nothing of WScript.
>
> Because, in the case when using Compare for documents with existing
> Track Changes, Compare will fail, I feel Merge should be used instead
> (if the above cannot be done). The following code change (with
> additional comments) will do so.

Stefan Küng wrote:
> Thanks for the patch.
> Committed in revision 7906.

The attached diff is a better solution. Instead of trying Compare and
catching with Merge, only Compare is attempted. Compare is set with
the IgnoreAllComparisonWarnings Variant as True (True compares the
documents without notifying a user of problems. The default value is
False.). It was actually the IgnoreAllComparisonWarnings Variant set
as False causing the script to fail, not Compare itself.

Please commit for 1.4.1!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org

Received on Wed Nov 8 15:59:49 2006

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.