[KDev4] vcs integration
Andreas Pakulat
apaku at gmx.de
Mon Mar 26 19:30:03 UTC 2007
On 26.03.07 10:16:49, dukju ahn wrote:
> > This is also the only way to connect filemanger and vcs-plugin, i.e.
> > IFileManager::fileAdded(ProjectBaseItem*) signal should be connected to
> > VCS::addFile(ProjectBaseItem*) slot (this means pretty much all API
> > needs to be a slot).
>
> It is dangerous if filemanager/projectmanager are directly linked to VCS.
No its not, its necessary. Thats something I desperately miss in KDev3
and is the main reason why I use cmdline svn.
> For instance, some people may want to add files just to project,
> but not to VCS.
Uhm, really? Can you elaborate on the use-case? After all, add() only
adds it like svn add, it doesn't commit anything. If I create a new file
and add it to the project I want it to be part of the svn too.
> If whenever we add files to project, VCS plugins will be always
> automatically invoked.
So what? How often do you add/remove files? Also note that those
functions take a list? And its not a problem at all, adding to vcs
should be async, not sync.
> Usually, people frequently change working copy.
> But it is only the final, and one time, step to add files to VCS.
No its not, IMHO. I've added/removed files from svn in projects all the
time, without committing anything. Thats not a problem, IMHO.
Andreas
--
Give thought to your reputation. Consider changing name and moving to
a new town.
More information about the KDevelop-devel
mailing list