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