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.

While implementing this i split out the Ref content assist functionality
from the existing RefSpecDialog to be reusable by this code.

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

COMMENTS

author: Bryanna Douglas
date: 2012-03-14 06:26:10.000000000

Uploaded patch set 8.

-------------------------------------
author: Brenden Conley
date: 2012-03-14 06:26:14.000000000

Patch Set 8:

Build Started https://hudson.eclipse.org/sandbox/job/egit.gerrit/2662/ 

-------------------------------------
author: Brenden Conley
date: 2012-03-14 06:42:21.000000000

Patch Set 8: Verified

Build Successful 
 
https://hudson.eclipse.org/sandbox/job/egit.gerrit/2662/ : SUCCESS

-------------------------------------
author: Carlie Harper
date: 2012-03-14 09:44:52.000000000

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

(3 inline comments)

Great stuff.

Please have a look at my inline comments.

Line:1, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/RefContentAssistProvider.java -> Missing licence header.

You could add Mathias as author.

Line:76, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/SimplePushSpecPage.java -> TODO Can be removed

Line:122, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/SimplePushSpecPage.java -> Even better would be if you looked for the remote tracking branch which is configured for sourceName.

You could reuse jgit's BranchConfig.getRemoteTrackingBranch()

-------------------------------------
author: Bryanna Douglas
date: 2012-03-14 10:43:47.000000000

Patch Set 8: (3 inline comments)



Line:1, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/RefContentAssistProvider.java -> ah, again... :) of course adding mathias is just right

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

Line:122, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/SimplePushSpecPage.java -> ah, good idea - currently looking into it. i'm pre-filling the text field with the remote tracking name if available, then try to get a branch with the same name on the remote, and if all fails, leave it empty; does that sound reasonable?

-------------------------------------
author: Carlie Harper
date: 2012-03-14 11:10:22.000000000

Patch Set 8: (1 inline comment)



Line:122, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/SimplePushSpecPage.java -> That sounds good.

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