Edit Screen: Remove duplicate getDiffUrl code and fix sidebyside link
This code exists already as Dispatcher.toPatch() and does not need
to be copied into EditScreen to get the correct results. A revision
with id 0 is formatted as "edit" in the anchor URL already by the
Dispatcher code.
Dispatcher already handles the special case where the user has
selected unified as their default diff view. The sidebyside link
should then include ",sidebyside" as a suffix to force selection
of sidebyside.
Change-Id: I6c014be19a1e08ed529bdbdcf8555f5e9d48561d
1 file changed