Context menus for VCS

Andreas Pakulat apaku at gmx.de
Sat Jun 14 20:28:06 UTC 2008


On 14.06.08 21:54:15, Evgeniy Ivanov wrote:
> Andreas Pakulat wrote:
> > On 14.06.08 14:24:24, Evgeniy Ivanov wrote:
> >   
> >> I meant context menus for VCS (in Documents View), look at screenshot: 
> >> http://ipicture.ru/Gallery/Viewfull/2517276.html
> >> There are no commit, add and other things in menu :)
> >>     
> >
> > Thats because our VCS plugins currently don't handle
> > Context::FileContext. Feel free to add support for that. To see the VCS
> > menu, just use the project view for now.
> >   
> I can't see VCS menu even in ProjectView. I see, that the code supports 
> it (from CVS plugin: “// For now we only support the contextmenu from 
> the ProjectView plugin.”), and see the required code in the 
> projectreeview.cpp. Even CVS doesn't work (and I have the same code for 
> Git). It is supposed to work, but doesn't. Thanks for pointing to the 
> projectreeview, will try to understand why it doesn't work and fix.

It does work, but the menu item is called "Version Control". Have you
tried on an svn checkout? It works just fine for that. Maybe cvs has
some problems of its own, it hasn't seen much attention since quite some
time so you should probably refer to the svn plugin.

Andreas

-- 
It's lucky you're going so slowly, because you're going in the wrong direction.




More information about the KDevelop-devel mailing list