Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 425236

Summary: "New branch" should allow to select base commit
Product: [ECD] Orion Reporter: Matthias Sohn <matthias.sohn>
Component: GitAssignee: Project Inbox <orion.git-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3    
Version: 4.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 425233    

Description Matthias Sohn CLA 2014-01-09 18:31:32 EST
In order to allow creating multiple local branches tracking a remote branch (most often origin/master) we need a means to select the base commit when creating a new branch. It should be possible to select 
- a branch (remote tracking or local) 
- tag 
- or commit
to define the base version the new branch shall reference initially

In the Gerrit review workflow this is needed to allow switching between independent changes pending in code review. Locally these independent changes are tracked by corresponding local branches. 

Usually changes undergo several review iterations until they are accepted and get merged into the remote branch. In order to allow rebasing such local branches onto their upstream remote branch which is moving forward since other changes in review get merged the new local branches should track the corresponding remote tracking branch (most often origin/master). I.e. if the base version is defined by a branch the newly created local branch shall track this branch.

I think the most reasonable default value for the base version of a new local branch is origin/master.
Comment 1 John Arthorne CLA 2015-05-05 16:20:03 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html