Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337747 - Push To from History view
Summary: Push To from History view
Status: VERIFIED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: 2.0-M2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-21 13:03 EST by Alex Blewitt CLA
Modified: 2012-04-20 08:46 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Blewitt CLA 2011-02-21 13:03:58 EST
The history view is great for stepping through the prior history of the code. However, it would also be an ideal place to allow you to push changes to a remote system, instead of having to have it as a branch checked out locally first. For example, you could push an unmerged set of branch data to a Gerrit review system without having to be on that branch as well. Or you could use it to push the HEAD to a different branch (or on a backup server, or GitHub, which you may maintain).

You can of course do this by pushing from the repositories view, but this only pushes the HEAD. Being able to push from the review would permit you to push other changes as well. In other words, thsi would allow you to do the graphical equivalent of:

git push github HEAD^2:untested
git push backup master~4:backup
git push gerrit 8e50211:refs/for/master

Right now, you'd have to check that out to push it for a non-tagged release, as well as filling in the source refspec manually.
Comment 1 Markus Duft CLA 2012-01-26 07:30:29 EST
i have proposed a fix for this:

 http://egit.eclipse.org/r/#/c/4999/

it probably needs some more love to make it great, bu still it already works
Comment 2 Matthias Sohn CLA 2012-04-02 05:33:37 EDT
merged as 82b60e5aff1bd4ee9e8413806ab491d4da4302fa
Comment 3 Dani Megert CLA 2012-04-20 08:46:33 EDT
Verified in 2.0.0.201204191915.