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

Re: Setting the diff program to a specific filename

From: Rafael M. Heise <rmheise_at_gmail.com>
Date: Sun, 17 Jan 2010 04:22:49 -0800 (PST)

Unfortunately, I can't change the file extension.

It's an important file in my application, and the runtime doesn't
accept another filename, only Filelist.cfg

I asked that because sometimes, I need to compare the file with the
base file or with previous revision. But it's not a text file, so,
TortoiseMerge can't just compare this file. So, I created a program to
convert the Filelist.cfg to text. So, I can compare the file using
TortoiseMerge. In this application, I convert the entiry Filelist.cfg
to formated text, and then I call the TortoiseMerge using the command
line. It's works fine. And to work with the others CFG files, I did a
conditional in my application to just calls the TortoiseMerge without
any convertion to text. There is no problem with, but if there is some
way to configure the diff tool to a specific file, it's could be
better.

Anyway, thanks Bob and Simon.

Rafael M. Heise

ps: is it could be a new feature in tortoise? maybe there are others
situations where is necessary to compare a specific file... or not!
lol

On 15 jan, 20:43, Simon Large <simon.tortoise..._at_googlemail.com>
wrote:
> 2010/1/15 Rafael M. Heise <rmhe..._at_gmail.com>:
>
> > I would like to set a different diff program to a specific filename.
>
> > I configured the tortoise to use the extension, but I have another
> > files with the same extension, and I shouldn't like to use this
> > specific diff program with those files.
>
> > I have one file named "Filelist.cfg", and I have another files named
> > "*.cfg". I would like to set the diff program to "Filelist.cfg", but
> > not to "*.cfg".
>
> > Is there some configuration to do that?
>
> > I tried to configure as "filelist.cfg" but if I defined like this, the
> > Tortoise call the TortoiseMerge and not my program. Does anyone know
> > something to fixed this?
>
> If you use TortoiseMerge as your default diff program you can
> configure an alternate diff program in the main diff settings, then
> choose TortoiseMerge again. If you right click on the file and hold
> the shift key while clicking on SVN Diff you will get the alternate
> program instead of TMerge.
>
> Simon
>
> --
> :       ___
> :  oo  // \\      "De Chelonian Mobile"
> : (_,\/ \_/ \     TortoiseSVN
> :   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
> :   /_/   \_\    http://tortoisesvn.net
>
> ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr..._at_tortoisesvn.tigris.org].

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2439809

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-01-17 13:22:54 CET

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.