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

Hijacking TortoiseProc: No need for plugins

From: J. Dunford <smilechaser_at_yahoo.com>
Date: 2006-05-03 00:54:07 CEST

I've been using TortoiseSVN for a while now, and I've always wanted to be
able to add "plugins" in order to replace the checkout dialog with one of my
own design.

I finally figured out how to do this by "hijacking" TortoiseProc, that is to
say I change the "ProcPath" registry setting to point to my own executable,
and it then pops up its own checkout dialog if "/command:checkout" is found
on the command line. If its not a checkout request, it delegates it to the
original TortoiseProc.

Questions I have for everyone:

1) Is this functionality documented anywhere ? In the past I looked all over
for "plugins" and have closely monitored topics related to "hooks" but only
came across this when I set about modifying the shell extension code.

2) The repo browser dialog that tsvn has is awesome, but I can't see a way
to call it from my custom GUI. Is there a way to do this ? I want to allow
users to browse for a svn url using the tsvn gui. Is this a component that
could be refactored into a dll ?

Joe

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed May 3 00:54:18 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.