[Lazarus] Development of other revision control

Reinier Olislagers reinierolislagers at gmail.com
Thu Apr 12 11:23:06 CEST 2012


On 12-4-2012 11:43, Hans-Peter Diettrich wrote:
> Reinier Olislagers schrieb:
> 
>> If you want to expose SVN functionality further, and if there's any
>> need, adding an API to the component/plugin would be possible. It's just
>> that I don't directly see the use for that - perhaps for other IDE
>> component writers?

> An API may be required when multiple CVS shall be supported at the same
> time. Then somebody (the IDE?) has to determine which of the installed
> packages is used by a project.
> 
You propose having multiple packages, each supporting a separate
revision control systems?
Then build in revision control support into the IDE? Seems like an
unwieldy solution.


I'd rather have a single package that supports multiple systems - if
necessary with extensions for certain systems (e.g. things that git can
do that SVN can't).
This package would talk to various revision control system classes
(using an API/interface/factory model, however you want to call
it/implement it).
The project directory could contain a file (or perhaps an extension to
the .lpi file, don't know if that is allowed) that specifies which RCS
to use, as well as URLs, usernames, perhaps passwords etc.

Then again, it's not my decision.

Regards,
Reinier




More information about the Lazarus mailing list