DESCRIPTION

Allow push of single Refs/Commits from Repo & History Views

This adds a new SimplePushWizard which just allows selecting a target
remote and ref name. It then pushes out the selected Ref/Commit to the
selected target ref.

This fixes three bugs (see below), and i feel it would be a really cool
feature for 1.3!

There is room for improvement, and i need help with implementing content
assist for the target ref selection - this should be a combo much like
the destination combo in the existing RefSpecPanel

Bug: 341076
Bug: 356314
Bug: 337747
Change-Id: If3be09886c23b031489116d448cae2dce29e281a


COMMENTS

author: Marlie Beasley
date: 2012-02-02 10:37:37.000000000

Uploaded patch set 4.

-------------------------------------
author: Marlie Beasley
date: 2012-02-02 10:39:17.000000000

Patch Set 4:

rebased to master

-------------------------------------
author: Leslie Stephenson
date: 2012-02-07 19:39:24.000000000

Patch Set 4: I would prefer that you didn't submit this

(11 inline comments)

see my inline comments

Line:78, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/SimplePushRefWizard.java -> You can try use here AbbreviatedObjectId.fromObjectId instead of hadrcoding abbreviation length

Line:1, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/SimplePushSpecPage.java -> missing license header

Line:279, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java -> please remove this, irrelevant code formatting change

Line:320, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java -> please remove this, irrelevant code formatting change

Line:336, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java -> please remove this, irrelevant code formatting change

Line:605, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java -> please remove this, irrelevant code formatting change

Line:623, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java -> please remove this, irrelevant code formatting change

Line:688, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java -> please remove this, irrelevant code formatting change

Line:692, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java -> please remove this, irrelevant code formatting change

Line:767, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java -> please remove this, irrelevant code formatting change

Line:14, /COMMIT_MSG -> 1.3 is already closed, this change will rather go to 2.0

-------------------------------------
author: Bryanna Douglas
date: 2012-03-01 13:00:29.000000000

Patch Set 4: (11 inline comments)

thanks for the review, finally i had time to rebase and incorporate some changes. patchset will follow in a second

Line:78, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/SimplePushRefWizard.java -> Done

Line:1, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/SimplePushSpecPage.java -> Done

Line:279, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java -> Done

Line:320, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java -> Done

Line:336, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java -> Done

Line:605, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java -> Done

Line:623, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java -> Done

Line:688, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java -> Done

Line:692, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java -> Done

Line:767, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java -> Done

Line:14, /COMMIT_MSG -> yeah, right ;D

-------------------------------------
