From c8605a5e0168d77b43fbc32a63f98a2b6a9cce20 Mon Sep 17 00:00:00 2001 From: EgorKulikov Date: Fri, 17 May 2024 16:37:49 +0200 Subject: [PATCH] [kotlin] Make project model updater not add rename history GitOrigin-RevId: 02897474fe422c4530bf9595d9e69a85ebe2337a --- .idea/modules.xml | 1 - .../src/org/jetbrains/tools/model/updater/Main.kt | 5 ----- 2 files changed, 6 deletions(-) diff --git a/.idea/modules.xml b/.idea/modules.xml index 40578d703470..d56b07d33f2e 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -1,6 +1,5 @@ - diff --git a/plugins/kotlin/util/project-model-updater/src/org/jetbrains/tools/model/updater/Main.kt b/plugins/kotlin/util/project-model-updater/src/org/jetbrains/tools/model/updater/Main.kt index 1ccd37debb19..91499139f54a 100644 --- a/plugins/kotlin/util/project-model-updater/src/org/jetbrains/tools/model/updater/Main.kt +++ b/plugins/kotlin/util/project-model-updater/src/org/jetbrains/tools/model/updater/Main.kt @@ -97,11 +97,6 @@ private fun cloneModuleStructure(monorepoRoot: File, communityRoot: File) { val communityModuleRenames = readModuleRenames(communityModulesXml) val newCommunityModulesXmlContent = xml("project", "version" to "4") { - if (communityModules.isNotEmpty()) { - xml("component", "name" to "ModuleRenamingHistory") { - communityModuleRenames.forEach { (old, new) -> xml("module", "old-name" to old, "new-name" to new) } - } - } xml("component", "name" to "ProjectModuleManager") { xml("modules") { for (module in communityModules.values) {