Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327098 - [repoView] create branch ignores source branch when started from "Local branches" node
Summary: [repoView] create branch ignores source branch when started from "Local branc...
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 0.10.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Matthias Sohn CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-06 08:39 EDT by Matthias Sohn CLA
Modified: 2010-10-06 12:40 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Sohn CLA 2010-10-06 08:39:22 EDT
I observed that with EGit 0.10.0.201010041519 on Helios SR1.

- open repositories view
- checkout a local branch which is ahead of origin/master
- click "Create Branch" from the "Local branches" node
- select origin/master as source branch
- give a name for the new local branch and hit ok
- the new branch is based on the previously checked out branch instead of on origin/master

- when creating the branch by clicking "Create branch" on context menu on the origin/master node the correct base is chosen
Comment 1 Matthias Sohn CLA 2010-10-06 10:40:37 EDT
proposed fix for review : http://egit.eclipse.org/r/#change,1698
Comment 2 Mathias Kinzler CLA 2010-10-06 12:40:24 EDT
Merged as 2de02f7ed78268e76ccff533f760519f4a6161e6