File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 619
619
"command" : " svn.renameExplorer" ,
620
620
"group" : " 7_modification" ,
621
621
"when" : " config.svn.enabled && svnOpenRepositoryCount != 0 && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus"
622
+ },
623
+ {
624
+ "command" : " svn.changelist" ,
625
+ "group" : " 9_svn" ,
626
+ "when" : " config.svn.enabled && svnOpenRepositoryCount != 0"
622
627
}
623
628
]
624
629
},
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ export class ChangeList extends Command {
11
11
const selection = await this . getResourceStates ( resourceStates ) ;
12
12
13
13
if ( selection . length === 0 ) {
14
+ window . showErrorMessage (
15
+ `Unable to add file to changelist. File is not under version control`
16
+ ) ;
14
17
return ;
15
18
}
16
19
@@ -31,7 +34,6 @@ export class ChangeList extends Command {
31
34
} ) ;
32
35
} )
33
36
) {
34
- console . log ( "canRemove true" ) ;
35
37
canRemove = true ;
36
38
return false ;
37
39
}
You can’t perform that action at this time.
0 commit comments