I would go for b)
and Yes, patches are welcome
Xela
Andreas Pakulat schrieb:
> Hi,
>
> before I file a wishlist item in the bugtracker I'd
like to get some
> input on this from the developers.
>
> I'm currently working on a subversion plugin for
KDevelop4
> (www.kdevelop.org) and am doing that with the svncpp
library. However I
> found that the library misses one or two needed
methods, for example it
> currently can only create a diff for a working copy
path using 2
> revisions. In the subversion plugin I'll also need the
ability to create
> a diff from two different paths.
>
> So I tried to subclass svn::Client and add the new
methods in that
> subclass. Worked out almost nicely, except that
svn::Client::getContext
> returns a const Context* which cannot be used with the
C-api functions.
> I work around this currently with a const_cast, but
thats rather nasty
> IMHO.
>
> So what I'd like to know is
> a) would you consider extending the Client class with a
non-const
> getContext() so that subclasses can use it to provide
their own methods
> b) Are you interested in patches extending the Client
class with new
> functions that cover more of the C-API? (I've also
noticed that add()
> has no force parameter)
>
> Andreas
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe rapidsvn.tigris.org
For additional commands, e-mail: dev-help rapidsvn.tigris.org
|