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

[TSVN] Proposal for external tools

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-07-11 11:30:38 CEST

Hi folks,

I have been thinking a bit more about these VB scripts over the weekend,
as well as other 3rd party tools. Here is another idea for how we might
make install/uninstall much easier for end users without making it the
default.

We ship TSVN with whatever contributed scripts we have, and an INI file
which describes them. Format might be something like:

[Text]
WinMerge
KDiff3

[Advanced]
DocVB

[WinMerge]
Descr = Perforce WinMerge
Merge = P4WinMrg.exe %base %theirs %mine %merged

[KDiff3]
Descr = Some witty remarks about KDiff3
Diff = kdiff3.exe %base %mine --L1 %bname --L2 %yname
Merge = kdiff3.exe %base %mine %theirs -o %merged

[DocVB]
Ext = doc
Type = MS Word
Descr = VB script to diff 2 Word documents
Diff = wscript.exe diff-doc.vbs %base %theirs
Merge = wscript.exe merge-doc.vbs %merged %theirs %mine %base

The idea is that we add a new 'install...' button which brings up a
dialog listing the contributed diff/merge scripts, as shown in this ini
file. The dialog shows the file extension, the type of document that it
refers to and any other comments. Select one line from the list, click
[Install], and the command line gets filled in for you. It might be nice
to check the path to the tool.

This deals with external text file handlers as well as the advanced
per-extension handlers that we have been talking about. ATM we document
a few of these text file diff/merge tools in the manual, but it would be
nice if we could include appropriate command lines for them in an easily
installable fashion.

Another advantage is that we are not hard coding any of this into
TortoiseProc, and it is easy to expand with new scripts.

What do y'all think?

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 Mon Jul 11 11:30:03 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.