DESCRIPTION

Support getting repository mapping for non-workspace files

Previous implementation of RepositoryMapping.getMapping() returns null
for non-workspace files. This change enhance its implementation to
return proper RrepositoryMapping for non-workspace files.

Also fixes NPE in CompareUtils.getHeadTypedElement() for non-workspace
files

Change-Id: Ibec45472d5b8115e1520caa521516dea9d156b6b
Signed-off-by: Leslie Stephenson xxx@xxx.xxx


COMMENTS

author: Brenden Conley
date: 2011-10-22 18:14:49.000000000

Patch Set 1:

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

-------------------------------------
author: Brenden Conley
date: 2011-10-22 18:27:36.000000000

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

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

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