Skip to content

Commit

Permalink
fix: Fixed inline commands for remote changes group (#568)
Browse files Browse the repository at this point in the history
* fix: Fixed inline commands for remote changes group

* feat: Added update remote changes in the group
  • Loading branch information
edgardmessias authored and JohnstonCode committed May 10, 2019
1 parent 6a8a85b commit 8940f6f
Showing 1 changed file with 33 additions and 9 deletions.
42 changes: 33 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,11 @@
{
"command": "svn.update",
"title": "Update",
"category": "SVN"
"category": "SVN",
"icon": {
"light": "icons/light/download.svg",
"dark": "icons/dark/download.svg"
}
},
{
"command": "svn.patch",
Expand Down Expand Up @@ -396,6 +400,7 @@
{
"command": "svn.treeview.refreshProvider",
"title": "Refresh",
"category": "SVN",
"icon": {
"light": "icons/light/refresh.svg",
"dark": "icons/dark/refresh.svg"
Expand All @@ -404,7 +409,11 @@
{
"command": "svn.treeview.pullIncomingChange",
"title": "Update selected",
"category": "SVN"
"category": "SVN",
"icon": {
"light": "icons/light/download.svg",
"dark": "icons/dark/download.svg"
}
},
{
"command": "svn.deleteUnversioned",
Expand Down Expand Up @@ -711,6 +720,16 @@
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup == remotechanges",
"group": "navigation"
},
{
"command": "svn.update",
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup == remotechanges",
"group": "inline"
},
{
"command": "svn.update",
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup == remotechanges",
"group": "navigation"
},
{
"command": "svn.revertAll",
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup == changes",
Expand Down Expand Up @@ -755,7 +774,7 @@
},
{
"command": "svn.patch",
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged",
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanges",
"group": "navigation"
},
{
Expand All @@ -770,32 +789,32 @@
},
{
"command": "svn.changelist",
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged",
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanges",
"group": "inline"
},
{
"command": "svn.changelist",
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged",
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanges",
"group": "1_modification"
},
{
"command": "svn.commit",
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged",
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanges",
"group": "1_modification"
},
{
"command": "svn.revert",
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged",
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanges",
"group": "2_modification"
},
{
"command": "svn.revert",
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged",
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanges",
"group": "inline"
},
{
"command": "svn.remove",
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged",
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanges",
"group": "2_modification"
},
{
Expand All @@ -808,6 +827,11 @@
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup == unversioned",
"group": "1_modification"
},
{
"command": "svn.treeview.pullIncomingChange",
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup == remotechanges",
"group": "inline"
},
{
"command": "svn.treeview.pullIncomingChange",
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup == remotechanges",
Expand Down

0 comments on commit 8940f6f

Please sign in to comment.