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

Re: Mapping diff tools to file types (or registry vs. config files)

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-01-22 20:56:08 CET

Will Wilson wrote:

> I’m just contending with a little issue I wrote about
> ages ago. Basically I need to map quite a few file types to the
> appropriate diff tools & I’m very lazy… ;)
>
>
>
> The issue is that the current file type to diff tool mapping is
> expressed via the registry. Which is fair enough really. However it’d be
> much easier for my (admittedly fairly esoteric) needs if this settings
> could be described in an external file – that way it’s one simple file
> copy verses a lot of messing around with the registry. My underlying
> problem is I need to get these settings out to quite a number of people
> & possibly add to the list as time goes on, therefore registry tweaking
> is a bit messy in comparison to the file copy option.

While using a config file for this wouldn't be much of a problem, I
still prefer the registry. Because you can configure a windows domain
controller to automatically spread such registry settings to all or just
specific computers/users. That's not an (easy) option with config files.

> I admit the case for this is fairly weak, but having said that I doubt
> the work involved would be massive – I’d even volunteer myself. Any
> thoughts?

One way would be to have both (config file and registry settings). But
then there would be problems:
* which one has a higher priority
* how to show the user that e.g. the settings made in the
settings-dialog won't matter since the config file has priority?
* if the other way around, how would a user know that editing the config
file does nothing because registry entries will overwrite the settings?

> PS. Stefan, I note there’s talk of a merge of the partial-directory
> branch in the SVN trunk. If and when this happens, do you think it’ll be
> a lot of work to expose to TSVN? I only ask as my users would currently
> kill for this feature…

Sure, as soon as it's merged to the Subversion trunk, I'll start
implementing the feature in TSVN. It may take a while until it's really
ready though, because that's a really big feature.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Jan 22 20:56:25 2007

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.