diff options
author | Tomasz Zarna | 2010-12-22 15:48:21 +0000 |
---|---|---|
committer | Tomasz Zarna | 2010-12-22 15:48:21 +0000 |
commit | bc1dfd854ed1d5e990dcfd005c19dd69d315fa08 (patch) | |
tree | 718787c8b8f15623070137664fe121a7fdb8314a /bundles/org.eclipse.team.core/src/org | |
parent | 7fdfb294c67705ce2a9e4b3c750b8fab42cbd4ed (diff) | |
download | eclipse.platform.team-bc1dfd854ed1d5e990dcfd005c19dd69d315fa08.tar.gz eclipse.platform.team-bc1dfd854ed1d5e990dcfd005c19dd69d315fa08.tar.xz eclipse.platform.team-bc1dfd854ed1d5e990dcfd005c19dd69d315fa08.zip |
bug 332732: SCMURL needs to default project name if not given
Diffstat (limited to 'bundles/org.eclipse.team.core/src/org')
-rw-r--r-- | bundles/org.eclipse.team.core/src/org/eclipse/team/core/ProjectSetCapability.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/ProjectSetCapability.java b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/ProjectSetCapability.java index 6ee37e768..52bc5b6fc 100644 --- a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/ProjectSetCapability.java +++ b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/ProjectSetCapability.java @@ -327,10 +327,10 @@ public abstract class ProjectSetCapability { * the URI that identifies the location of the project in the * repository. * @param projectName - * the name of the project to use. If <code>null</code>, use the - * project name from the provided SCM URI. If the URI is not an - * SCM URI or does not contain project name, <code>null</code> is - * returned. + * the name of the project to use. If <code>null</code>, use a + * project name from the provided SCM URI. If the URI does not + * contain the project name the last segment of the URI's path is + * used. If this fails, <code>null</code> is returned. * @return the reference string representing a project that can be loaded * into the workspace or <code>null</code>, if the URI and name * cannot be translated into a reference string |