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

Re: Feature request: SVNLinks

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 08 Sep 2008 18:07:30 +0200

the-moog wrote:
> hi,
> I would like to provide users with the ability to see that an SVN
> repository is available for a given folder.
>
> The purpose of this is to integrate SVN with MKS, a third party
> revision control system. Though my suggested solution has other uses.
>
> The idea would work as follows:
>
> On the TortoiseSVN context menu, as well as EXPORT, there would be an
> EXPORT-LINK menu item.
>
> Clicking this this would create an executible or batch file in the
> target location that would run nativley on Windows. The link file
> would contain code that would perform as follows:
> 1: If ToroiseSVN is installed, then TortoiseSVN would be used to
> check out the target given in the link into the current folder.
> 2: If Tortoise is not installed, but SVN is, then SVN client would
> be used to do the same.
> 3: If neither is installed, then a dialog would explain that
> TortoiseSVN or SVN client is missing and must be installed.
>
> As well as the target, the link file would contain metadata on how to
> check out that link, e.g. include exernals, sparse checkout etc.
>
> This executible 'link' could be checked into the third party revision
> control system. In this case, this system is MKS as it has very poor
> handling of folders and file attributes, unlike SVN. Such a system
> would allow adopting of SVN without having to immediately obsolete
> MKS.
>
> An extension to this would be to allow signing of the link executible
> to ensure that the link file is genuine.
>
> Perhaps the simplest way to implement this would be to allow some
> means of extending Tortoise menu through plugins, and hand over the
> above functionality to another program.
>
> How easy would it be to make changes to TortoiseSVN to allow a third
> party program to modify its context menu?

Such a context menu entry wouldn't require any feature from TSVN itself.
So I suggest you just implement your own context menu handler for this.
The TSVN context menu is not extensible, but the Explorer context menu is.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net

Received on 2008-09-08 18:08:00 CEST

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.