Bug 76178

Summary: CVS change to branch
Product: [Developer tools] kdevplatform Reporter: Simon Ejsing <simon>
Component: cvsAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED WORKSFORME    
Severity: wishlist    
Priority: NOR    
Version: 0.9.94   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Simon Ejsing 2004-02-26 10:47:06 UTC
Version:           3.0.1 (using KDE KDE 3.2.0)
Installed from:    Gentoo Packages
OS:          Linux

It would be nice if there was a "Change branch" option from the CVS menu, working like the "Tag branch", but updating your local copy to that branch instead. (eg. doing an cvs update -r TAG_NAME).
Comment 1 Simon Ejsing 2004-02-27 08:41:07 UTC
It should ofcourse also be possible to change back to main branch with "cvs update -A".
Comment 2 Mario Scalas 2004-05-28 20:01:07 UTC
For "cvs update -r TAG_NAME" use CvsService->Update/revert to another release and then check the "An arbitrary revision/tag/branch" and put your tag in the line edit. 
For "cvs update -A" use CvsService->Remove sticky flag

Hope it is that you mean :-) (Post a comment here if the solution is ok for you so we can close this BR) 
Comment 3 Mario Scalas 2004-06-09 16:55:46 UTC
Hmmm ... seems it is ok. Reopen it if not ;-)
Comment 4 Simon Ejsing 2004-06-10 08:36:09 UTC
Sorry, I missed your comment, where do you find that option to update/revert ?!

I only have these options in my CVS sub-menu:
- Commit
- Log
- Update
- Add
- Diff
- Remove from repository
- Replace with copy from repository
- Tag / Branch selected files
- Ignore ...
- Don't ignore ...
Comment 5 Mario Scalas 2004-06-10 20:48:18 UTC
Ok,  it seems that we are using different cvs components ;-) Actually there are two: an older CvsPart (named "CVS" in the context menus) which has lesser features and a newer CvsService (named "CvsService"): the latter is the one I'm speaking about. You should check that:
1) the plugin is activated in the "Configure KDevelop" dialog (settings->Configure Kdevelop->Plugins and check "CVS integration (Cervisia)", the other CVS can be disabled safely).
2) if you do not see any other CVS integration than the standard one then you have to recompile KDevelop after ensuring to have Cervisia installed (part of the kdesdk package). Since you are using gentoo you have just to run "emerge -U kdesdk kdevelop" and wait for the job to complete: re-check step 1) and you should have what you need :-)
Comment 6 Simon Ejsing 2004-06-11 12:42:13 UTC
Okay, that's very nice.