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

Re: SubWCRev: Options to recognize "tags" folder, "all externals set explicit" & more

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 27 Sep 2012 20:50:36 +0200

On Thu, Sep 27, 2012 at 8:46 PM, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
> On 27.09.2012 07:45, Jan Linnenkohl wrote:
>>
>> Hello Stefan,
>>
>> so I am nearly done with the functionality For SubWCRev. The only
>> things is the COM interface, where I have to bring the "-E" parameter
>> to the "GetWCInfo" function. One possiblity would be to add another
>> "bool" variable, or change it to "short" (0: Off, 1: "-e", 2: "-E")
>> or use an enum. What should I use, I think "short" would stay
>> compatible with old versions?
>
>
> I think it's time to introduce ISubWCRev2 here and add there a new GetWCInfo
> function.
> We broke the COM rule about never changing existing interfaces before, but
> only because it's implemented as an out-of-process COM object and I figured
> that the COM object would only be used by scripts anyway.
> But changing an existing function and not just adding new functions would
> break even scripts using the COM object, so we have to introduce a new
> interface.

Or: since we're the only ones that *implement* the interface, we could
just add a new function GetWCInfo2() instead.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3010744
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-09-27 20:51:04 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.