DESCRIPTION

[historyView] Support linking with commit editor

Opening the commit editor with the history view in link mode
will now set the input of the view to be the commit's repository
and the current commit being viewed will be selected once the
view loads

Bug: 368346
Change-Id: Icccc2d7032ba11b1ead5c993995efaca36251bf0


COMMENTS

author: Jaidyn Nichols
date: 2012-01-24 20:09:19.000000000

Uploaded patch set 2.

-------------------------------------
author: Brenden Conley
date: 2012-01-24 20:36:07.000000000

Patch Set 2:

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

-------------------------------------
author: Brenden Conley
date: 2012-01-24 20:51:21.000000000

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

Build Unstable 
 
https://hudson.eclipse.org/sandbox/job/egit.gerrit/2444/ : UNSTABLE

-------------------------------------
author: Douglas Trujillo
date: 2012-01-24 22:44:50.000000000

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

sometimes I can open commit viewer from a selected commit in History View but most often I hit the following exception:

org.eclipse.core.commands.ExecutionException: Could not get the repository from the history view
	at org.eclipse.egit.ui.internal.history.command.AbstractHistoryCommandHandler.getRepository(AbstractHistoryCommandHandler.java:100)
	at org.eclipse.egit.ui.internal.history.command.OpenInCommitViewerHandler.execute(OpenInCommitViewerHandler.java:31)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
	at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
	at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
	at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
	at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
	at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:829)
	at org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContributionItem.java:815)
	at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:805)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)

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