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

[TSVN] Re: external diff and changing file extensions

From: Simon Large <slarge_at_blazepoint.co.uk>
Date: 2005-02-11 16:23:02 CET

Lübbe Onken wrote:
> As Erv said, setup word as your external diff tool in TSVN based on
> file type. If you find out how to pass two filenames to word on the
> commandline and switch word into side-by-side compare mode
> automatically, please let us know :-)

I think the OP is referring to the fact that if you use an external diff
tool (like Word by some magic), the filenames passed to it may not have
the extension it is expecting. This happens if you modify a file and
then try to diff against the base.

Modify Test.c
Diff tool gets 'Test.c' and '.svn\text-base\Test2.c.svn-base' as the 2
file names.

Most text editors & diff tools don't care about extension, but MSWord is
much more picky and throws an error if it sees a .svn-base file.

The only work around is to copy the svn-base file to a temp location
with the .svn-base extension removed when using an external diff tool -
and maybe any diff tool. Actually my text editor does use the file
extension to select tab settings, so it might be good to do that always.

And yes, I would also like to know how to make Word diff two files :-)

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://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 21:38:07 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.