Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 144924 - "Check out as a project in the workspace" for branched code defaults target directory incorrectly
Summary: "Check out as a project in the workspace" for branched code defaults target d...
Status: RESOLVED DUPLICATE of bug 45623
Alias: None
Product: Platform
Classification: Eclipse Project
Component: CVS (show other bugs)
Version: 3.1.2   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: platform-cvs-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-01 13:50 EDT by Isaac Shabtay CLA
Modified: 2006-06-01 14:58 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 Isaac Shabtay CLA 2006-06-01 13:50:07 EDT
Steps to reproduce:

1) Share a project called "MyProject" in CVS.

2) Check-out "MyProject" from HEAD to your workspace, into the default location (most likely %WORKSPACE_DIR%\MyProject)

3) Branch MyProject by creating a branch named "MyBranch".

4) In CVS Repositories view, expand "Branches" and rightclick "MyProject" inside "MyBranch".

5) Choose "Check out as".

The "Check out as" dialog defaults to "Check out as a project in the workspace". The default project name given is "MyProject".

6) Change "MyProject" to a distinctive name: "MyProject in MyBranch".

7) Click "Next".

The "Use default workspace location" checkbox is turned on by default, which is good. However, the "Location" box shows "%WORKSPACE_DIR%\MyProject" instead of the expected value, "%WORKSPACE_DIR%\MyProject in MyBranch".

Unchecking "Use default workspace location" and checking it again will cause the *correct* value to be shown in the "Location" box.
Comment 1 Michael Valenta CLA 2006-06-01 14:58:23 EDT

*** This bug has been marked as a duplicate of 45623 ***