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

Re: Integrating TSVN in an IDE

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Wed, 18 Jun 2008 21:45:02 +0100

2008/6/18 Janosch Scharlipp <tsvn_at_lists.scharlipp.de>:
> Hi,
> i want to integrate Subversion support into an open source IDE
> (FlashDevelop.org) which is written in C#.
> The integration of all those great dialogs TSVN comes with, is simply done
> by showing the standard windows explorer context menu, but showing icon
> overlays based on the file status seems to be a bit more complicated.
> Since getting file status via svn.exe is slow (and always slow) i thougth, i
> could profit from TSVNCache.exe.
>
> The problem is, that i have no experience with c++, so it is difficult for
> me to read and understand the source of TSVN and TSVNCache. All i understood
> is, that TSVN communicates with TSVNCache through a named pipe.
>
> My questions are now:
> 1) do you think, it is possible to use TSVNCache in my case?
> 2) is it enough to get communication with TSVNCache working via a named pipe
> to get the file-status in most (99%) of all cases, or do i have to implement
> alternatives?
> 3) is there a simpler/better way than the named pipe?
>
> Happy about every advice,

AFAIK we don't document the interface to TSVNCache as a public API,
and it does tend to change periodically between TSVN versions. I would
suggest using the SVN library to get status (similar to using TSVN
with shell status).

Simon

-- 
: ___
: oo // \\ "De Chelonian Mobile"
: (_,\/ \_/ \ TortoiseSVN
: \ \_/_\_/> The coolest Interface to (Sub)Version Control
: /_/ \_\ http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-06-18 22:45:14 CEST

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