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

Re: [TSVN] external diff and changing file extensions

From: Erv Walter <erv_at_ewal.net>
Date: 2005-02-11 15:50:58 CET

I suggest you use the "different diff tools based on file extension" feature
of tortoise and not try to determine file type in your overall super diff
wrapper.

You can setup different diff tools for different extensions on the Advanced
dialog for external diff tools. Setup a tool specifically for .doc files
that does your Word thing. Then use a normal diff tool by default.

----- Original Message -----
From: "Mike Wohlgemuth" <mjw@woogie.net>
To: <dev@tortoisesvn.tigris.org>
Sent: Friday, February 11, 2005 8:34 AM
Subject: [TSVN] external diff and changing file extensions

>I am attempting to use an external diff for Microsoft Word documents. The
>diff program uses the file extension on the file to determine the type, and
>when it finds 2 Word docs, it starts up Word and uses its diff and merge
>features. The problem is that tortoisesvn changes the file extension on
>the file it pulls from the repository. For instance, if I have the file
>
> c:\svn\test.doc
>
> and I attempt to do a diff on the file, tortoisesvn grabs the file from
> the repo and puts it in
>
> c:\svn\.svn\text-base\test.doc.svn-base
>
> and then calls the external diff. My diff doesn't know what to do with
> files of type .svn-base, and so it throws up an error. I've tried telling
> XP to use Word to open files of type .svn-base, and that hasn't helped,
> and seems like a poor generalized solution.
>
> Is there any way that tortoisesvn could change this behavior so that it
> doesn't change the file extension? Alternately, does anyone have a
> working method to diff Word documents?
>
> Thanks
> Mike
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
> For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Feb 11 15:52:14 2005

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

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