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 619619 "command" : " svn.renameExplorer" ,
620620 "group" : " 7_modification" ,
621621 "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"
622627 }
623628 ]
624629 },
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ export class ChangeList extends Command {
1111 const selection = await this . getResourceStates ( resourceStates ) ;
1212
1313 if ( selection . length === 0 ) {
14+ window . showErrorMessage (
15+ `Unable to add file to changelist. File is not under version control`
16+ ) ;
1417 return ;
1518 }
1619
@@ -31,7 +34,6 @@ export class ChangeList extends Command {
3134 } ) ;
3235 } )
3336 ) {
34- console . log ( "canRemove true" ) ;
3537 canRemove = true ;
3638 return false ;
3739 }
You can’t perform that action at this time.
0 commit comments