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

Re: AW: [TSVN] Feature: Diff-Scripts

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-07-15 17:58:51 CEST

SteveKing wrote:
> Martin Eckardt wrote:
>
>> Where should i store the mimetype information i see that the extension
>> <->
>> diff/merge scripts is stored in the registry under
>> TortoiseSVN\DiffTools\<FileExtension>
>> Should we move them into a new key named ext and create a new key mime?
>
>
> You mean TortoiseSVN\DiffTools\ext\<mimetype> ?

Can I suggest a slightly modified structure?

Present the UI as an ordered list as Martin originally suggested:

    ext mimetype path
    .xml application/msword vbscript
    .doc vbscript
    * application/foobar foo.exe

Use the first tool which matches both ext and mimetype, where blank or
'*' matches anything.

This means you will also need move-up / move-down buttons.

This could be stored in the registry as a double linked list:

TOrtoiseSVN\DiffTools\First = Diff1

TortoiseSVN\DiffTools\Diff1\
   ext = .xml
   mimetype = application/msword
   tool = c:\program files\TortoiseSVN\scripts\vbscript %his %hers
   prev = -1
   next = 2

TortoiseSVN\DiffTools\Diff2\
   ext = .doc
   mimetype =
   tool = c:\program files\TortoiseSVN\scripts\vbscript %mine %yours
   prev = 1
   next = 3

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 Jul 15 17:58:11 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.