SCM - remove old incoming/outgoing code (#227200)

* Delete SCMViewSeparatorElement

* Deleted all renderers

* Delete SCMHistoryItemGroupTreeElement

* More clean-up

* Cleanup old menus

* Fix compilation errors after ESM merge
This commit is contained in:
Ladislau Szomoru
2024-08-30 14:10:47 +02:00
committed by GitHub
parent 135a89c73a
commit 72e9b7daff
14 changed files with 19 additions and 1278 deletions

View File

@@ -16,8 +16,6 @@
"contribMergeEditorMenus",
"contribMultiDiffEditorMenus",
"contribDiffEditorGutterToolBarMenus",
"contribSourceControlHistoryItemChangesMenu",
"contribSourceControlHistoryItemGroupMenu",
"contribSourceControlHistoryItemMenu",
"contribSourceControlHistoryTitleMenu",
"contribSourceControlInputBoxMenu",
@@ -1958,28 +1956,6 @@
"group": "navigation@3"
}
],
"scm/historyItemChanges/title": [
{
"command": "git.fetchRef",
"group": "navigation@1",
"when": "scmProvider == git && scmHistoryItemGroupHasRemote"
},
{
"command": "git.pullRef",
"group": "navigation@2",
"when": "scmProvider == git && scmHistoryItemGroupHasRemote"
},
{
"command": "git.pushRef",
"when": "scmProvider == git && scmHistoryItemGroupHasRemote",
"group": "navigation@3"
},
{
"command": "git.publish",
"when": "scmProvider == git && !scmHistoryItemGroupHasRemote",
"group": "navigation@3"
}
],
"scm/historyItem/context": [
{
"command": "git.copyCommitId",
@@ -1992,102 +1968,6 @@
"group": "1_copy@2"
}
],
"scm/incomingChanges": [
{
"command": "git.fetchRef",
"group": "navigation",
"when": "scmProvider == git"
},
{
"command": "git.pullRef",
"group": "navigation",
"when": "scmProvider == git"
}
],
"scm/incomingChanges/context": [
{
"command": "git.fetchRef",
"group": "1_modification@1",
"when": "scmProvider == git"
},
{
"command": "git.pullRef",
"group": "1_modification@2",
"when": "scmProvider == git"
}
],
"scm/incomingChanges/allChanges/context": [
{
"command": "git.viewAllChanges",
"when": "scmProvider == git && scmHistoryItemFileCount != 0 && config.multiDiffEditor.experimental.enabled",
"group": "inline@1"
},
{
"command": "git.viewAllChanges",
"when": "scmProvider == git && scmHistoryItemFileCount != 0 && config.multiDiffEditor.experimental.enabled",
"group": "1_view@1"
}
],
"scm/incomingChanges/historyItem/context": [
{
"command": "git.viewCommit",
"when": "scmProvider == git && scmHistoryItemFileCount != 0 && config.multiDiffEditor.experimental.enabled",
"group": "inline@1"
},
{
"command": "git.viewCommit",
"when": "scmProvider == git && scmHistoryItemFileCount != 0 && config.multiDiffEditor.experimental.enabled",
"group": "1_view@1"
}
],
"scm/outgoingChanges": [
{
"command": "git.pushRef",
"group": "navigation",
"when": "scmProvider == git && scmHistoryItemGroupHasRemote"
},
{
"command": "git.publish",
"group": "navigation",
"when": "scmProvider == git && !scmHistoryItemGroupHasRemote"
}
],
"scm/outgoingChanges/context": [
{
"command": "git.pushRef",
"when": "scmProvider == git && scmHistoryItemGroupHasRemote",
"group": "1_modification@1"
},
{
"command": "git.publish",
"when": "scmProvider == git && !scmHistoryItemGroupHasRemote",
"group": "1_modification@1"
}
],
"scm/outgoingChanges/allChanges/context": [
{
"command": "git.viewAllChanges",
"when": "scmProvider == git && scmHistoryItemFileCount != 0 && config.multiDiffEditor.experimental.enabled",
"group": "inline@1"
},
{
"command": "git.viewAllChanges",
"when": "scmProvider == git && scmHistoryItemFileCount != 0 && config.multiDiffEditor.experimental.enabled",
"group": "1_view@1"
}
],
"scm/outgoingChanges/historyItem/context": [
{
"command": "git.viewCommit",
"when": "scmProvider == git && scmHistoryItemFileCount != 0 && config.multiDiffEditor.experimental.enabled",
"group": "inline@1"
},
{
"command": "git.viewCommit",
"when": "scmProvider == git && scmHistoryItemFileCount != 0 && config.multiDiffEditor.experimental.enabled",
"group": "1_view@1"
}
],
"editor/title": [
{
"command": "git.openFile",