|
295 | 295 | {
|
296 | 296 | "command": "svn.revert",
|
297 | 297 | "title": "Revert Selected File",
|
298 |
| - "category": "SVN" |
| 298 | + "category": "SVN", |
| 299 | + "icon": { |
| 300 | + "light": "icons/light/clean.svg", |
| 301 | + "dark": "icons/dark/clean.svg" |
| 302 | + } |
| 303 | + }, |
| 304 | + { |
| 305 | + "command": "svn.revertAll", |
| 306 | + "title": "Revert All Changes", |
| 307 | + "category": "SVN", |
| 308 | + "icon": { |
| 309 | + "light": "icons/light/clean.svg", |
| 310 | + "dark": "icons/dark/clean.svg" |
| 311 | + } |
299 | 312 | },
|
300 | 313 | {
|
301 | 314 | "command": "svn.update",
|
|
481 | 494 | "command": "svn.revertChange",
|
482 | 495 | "when": "false"
|
483 | 496 | },
|
| 497 | + { |
| 498 | + "command": "svn.revertAll", |
| 499 | + "when": "false" |
| 500 | + }, |
484 | 501 | {
|
485 | 502 | "command": "svn.revertSelectedRanges",
|
486 | 503 | "when": "config.svn.enabled && svnOpenRepositoryCount != 0 && svnHasSupportToRegisterDiffCommand == 1"
|
|
693 | 710 | "command": "svn.refreshRemoteChanges",
|
694 | 711 | "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup == remotechanges",
|
695 | 712 | "group": "navigation"
|
| 713 | + }, |
| 714 | + { |
| 715 | + "command": "svn.revertAll", |
| 716 | + "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup == changes", |
| 717 | + "group": "navigation" |
| 718 | + }, |
| 719 | + { |
| 720 | + "command": "svn.revertAll", |
| 721 | + "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup == changes", |
| 722 | + "group": "inline" |
696 | 723 | }
|
697 | 724 | ],
|
698 | 725 | "scm/resourceState/context": [
|
|
761 | 788 | "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged",
|
762 | 789 | "group": "2_modification"
|
763 | 790 | },
|
| 791 | + { |
| 792 | + "command": "svn.revert", |
| 793 | + "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged", |
| 794 | + "group": "inline" |
| 795 | + }, |
764 | 796 | {
|
765 | 797 | "command": "svn.remove",
|
766 | 798 | "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged",
|
|
0 commit comments