TDI-21185: disable it first.

git-svn-id: http://talendforge.org/svn/tos/trunk@90778 f6f1c999-d317-4740-80b0-e6d1abc6f99e
This commit is contained in:
cli
2012-09-17 08:21:00 +00:00
parent fb30b17eb7
commit 55b39dbb41
2 changed files with 15 additions and 1 deletions

View File

@@ -44,4 +44,16 @@ public final class TalendPropertiesUtil {
return Boolean.parseBoolean(value);
}
/**
*
* DOC ggu Comment method "isEnabledMultiBranchesInWorkspacee".
*
* @return
*/
public static boolean isEnabledMultiBranchesInWorkspacee() {
String value = System.getProperty("talend.enable.multiBranchesInWorkspace"); //$NON-NLS-1$
return Boolean.parseBoolean(value);
}
}

View File

@@ -38,6 +38,7 @@ import org.talend.core.model.repository.ERepositoryObjectType;
import org.talend.core.model.repository.IRepositoryViewObject;
import org.talend.core.model.repository.RepositoryManager;
import org.talend.core.model.repository.SVNConstant;
import org.talend.core.model.utils.TalendPropertiesUtil;
import org.talend.core.runtime.CoreRuntimePlugin;
import org.talend.core.ui.IReferencedProjectService;
import org.talend.repository.model.IProxyRepositoryFactory;
@@ -419,7 +420,8 @@ public final class ProjectManager {
}
public boolean enableSpecialTechnicalProjectName() {
return true; // FIXME TDI-21185, add the function to enable disabling this function.
// FIXME TDI-21185, add the function to enable disabling this function.
return TalendPropertiesUtil.isEnabledMultiBranchesInWorkspacee();
}
/**