[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sun, 17 Jan 2010 13:50:15 +0100

On 17.01.2010 13:22, Rafael M. Heise wrote:
> 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,

Then why does the file have a .cfg extension if it's not text? Can't you
use another extension?

> 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.

How would that work? Just the filename? That would then apply to all
files that have that name - and since you've chosen a very common
extension and the filename itself isn't that uncommon either, you could
end up with problems for those other files.
And specifying a path won't work either, because TSVN diffs not just
local files but also files from repositories which use urls, not paths.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2439815
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-01-17 13:50:26 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.