DESCRIPTION

[syncView] Update destination ref after fetching changes

First of all when 'fetch changes' option is selected destination branch
should be changed to tracking branch. Secondly after fetching changes
from remote the dstRevCommit should be updated to new value
corresponding to remote fetched commit.

Bug: 355840
Change-Id: I5cc364f833e2b3c79efa8d858cdd78ee853bf885
Signed-off-by: Leslie Stephenson xxx@xxx.xxx


COMMENTS

author: Brenden Conley
date: 2011-10-24 20:06:06.000000000

Patch Set 1:

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

-------------------------------------
author: Brenden Conley
date: 2011-10-24 20:19:57.000000000

Patch Set 1: Build Successful

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

-------------------------------------
author: Jaylon Avila
date: 2011-11-05 11:09:31.000000000

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

(3 inline comments)



Line:105, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/SynchronizeWorkspaceActionHandler.java -> May be null if you create a branch with no merge strategy.

Line:107, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/SynchronizeWorkspaceActionHandler.java -> May be null if you create a branch with no merge strategy.

Line:110, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/SynchronizeWorkspaceActionHandler.java -> java.lang.NullPointerException
    at org.eclipse.egit.ui.internal.actions.SynchronizeWorkspaceActionHandler.getDstRef(SynchronizeWorkspaceActionHandler.java:110)
    at org.eclipse.egit.ui.internal.actions.SynchronizeWorkspaceActionHandler.execute(SynchronizeWorkspaceActionHandler.java:62)
    at org.eclipse.egit.ui.internal.actions.RepositoryAction.run(RepositoryAction.java:86)

-------------------------------------
author: Juliet Cantu
date: 2011-11-05 22:22:02.000000000

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

(1 inline comment)



Line:50, org.eclipse.egit.core/src/org/eclipse/egit/core/synchronize/dto/GitSynchronizeData.java -> spelling error. Don't repeat the code in comments. Explain what it's for.

-------------------------------------
author: Douglas Trujillo
date: 2011-11-05 22:36:18.000000000

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

(1 inline comment)



Line:50, org.eclipse.egit.core/src/org/eclipse/egit/core/synchronize/dto/GitSynchronizeData.java -> typo s/patter/pattern/

-------------------------------------
author: Leslie Stephenson
date: 2011-11-06 13:56:47.000000000

Patch Set 1: (5 inline comments)



Line:105, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/SynchronizeWorkspaceActionHandler.java -> Done

Line:107, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/SynchronizeWorkspaceActionHandler.java -> Done

Line:110, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/SynchronizeWorkspaceActionHandler.java -> Done

Line:50, org.eclipse.egit.core/src/org/eclipse/egit/core/synchronize/dto/GitSynchronizeData.java -> Done

Line:50, org.eclipse.egit.core/src/org/eclipse/egit/core/synchronize/dto/GitSynchronizeData.java -> Done

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