Thanks a lot,
I see what you meen when you say it does the diff the wrong way round.
Does anyone know a way to solve this tho? Perhaps changind something
in Word?
Thanks a lot for the help guys.
Ciao
Paul
On Jul 11, 4:03 pm, Stefan Küng <tortoise..._at_gmail.com> wrote:
> Paul wrote:
> > Hi, I was amazed to see that if you click on "Diff with previous
> > version" of a Word doc, that it opens up the doc in Word and launches
> > a comparison between the latest two version.
> > This is a wonderful feature, specially when you're using Subversion
> > for normal docs (not code).
> > There is a glitch tho, the revision considere Old is the latest one
> > and the one considered New is in fact the older revision. In other
> > words, it's telling me that 3 has replaced 4 and not the other way
> > round.
> > Am I doing something wrong or is this a problem with the system?
>
> Actually, if I'm not completely mistaken, the diff is correct.
> Word just shows the diff 'wrong'. Ok, I admit that isn't a good
> explanation :)
>
> If you look at the 'merged' document Word shows you, you will see that
> it looks exactly like the 'new' file, but lines which were added in the
> new file are marked red as if they were removed, not added.
>
> If you would make Word show the diff in reverse, it would actually show
> the document as it was in the old version, not the new one.
>
> You can test this yourself if you like. The file
> C:\Program Files\TortoiseSVN\Diff-Scripts\diff-doc.js
> it the one which calls the word diff. If you change the lines 44/45 from:
>
> sBaseDoc = objArgs(0);
> sNewDoc = objArgs(1);
>
> to
>
> sBaseDoc = objArgs(1);
> sNewDoc = objArgs(0);
>
> you will see what I mean if you repeat the diff.
>
> Stefan
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest Interface to (Sub)Version Control
> /_/ \_\ http://tortoisesvn.net
>
> signature.asc
> 1KDownload
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-07-14 18:09:22 CEST