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

[TSVN] Re: Diff / Merge settings

From: Simon Large <slarge_at_blazepoint.co.uk>
Date: 2005-02-09 15:17:37 CET

Lübbe Onken wrote:
>> So we need a way
>> to 'deactivate' the external diff/merge program _without_ deleting it
>> completely (otherwise you'd have to enter the path and the params all
>> over again).
> And why don't you just spend three registry entries: ExternalDiff,
> ExternalMerge and ExternalViewer which are set to 0 or 1 depending on
> the checkbox? You have a clean assignment of UI element to variable
> and no messing around with strings.

If you just strip any leading # when loading the edit box from the
registry, that would do it (and prefix a # when writing to the registry
if the external tool is disabled).

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 Wed Feb 9 15:17:41 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.