Bug 248738 - Team > Share Project should allow adding a new module on a branch
Summary: Team > Share Project should allow adding a new module on a branch
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: CVS (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: platform-cvs-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-26 11:42 EDT by Eric Rizzo CLA
Modified: 2019-09-06 16:17 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Rizzo CLA 2008-09-26 11:42:19 EDT
The use case is as follows:
I am working on a branch, with several projects checked out from that branch. I need to add a new project to go along with the others and commit it to CVS. Because my work is on the branch, I need to be able to add the new project to CVS on the branch (not on HEAD), but the Eclipse Team > Share Project wizard does not support that.
Command-line and WinCVS (and probably other clients) allow you to do this; currently we have to resort to WinCVS to accomplish this unless we want to first add the new project to HEAD and then move it to the branch (which, aside from being a pain in the neck also makes future merges from branch to HEAD more problematic).
Basically, the Share Project wizard should offer the user the opportunity to select either HEAD or an existing Branch on which to add the new project.
Comment 1 Eric Rizzo CLA 2008-09-26 11:43:25 EDT
Note: this is somewhat related to Bug 238877 but the difference is significant. Bug 238877 talks specifically about a regression when associating a project with an existing module, while my scenario deals with an entirely new project that is not yet in CVS.
Comment 2 Tomasz Zarna CLA 2008-10-02 11:48:25 EDT
What would you expect to happen with such a project when you do "Replace with Another Branch or Version > HEAD" on it?
Comment 3 Eric Rizzo CLA 2008-10-07 09:21:28 EDT
(In reply to comment #2)
> What would you expect to happen with such a project when you do "Replace with
> Another Branch or Version > HEAD" on it?
> 

I'm not sure. What does Eclipse do currently if you try that on any file or project that exists on a branch but not on head?
Even without the answer to that question, I'd think a reasonable approach woule be a message to the user about the situation and either fail/abort the replace or end up removing the project contents locally (if that can be done and still maintain the "CVS shared" state). Whatever command-line CVS does should be the model to follow, right?
Comment 4 Eclipse Webmaster CLA 2019-09-06 16:17:39 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.