svn-scm
svn-scm copied to clipboard
Add “when” directive support when ignore files using "files.exclude" ignore patten
trafficstars
- VSCode Version: 1.30.1
- OS Version: Windows_NT x64 10.0.17763
- Extension Version: 1.47.0
- System Language: zh-CN
- SVN Version: 1.11.0
Issue
files.exclude as below described ignore all js files instead of only ignore "js" file when only exists "ts" files having same name.
Steps to Reproduce
- Use VsCode working a web project use typescript
- The project with “files.exclude" settings below to ignore js files which typescript generated in same location:
"files.exclude": {
"**/*.js": {
"when": "$(basename).ts"
}
}
- When there is some isolate js files which is not generated from typescript (although this is not a properly use case),svn plugin also ignore the isolate js files
SVN Output
$ svn stat --xml --no-ignore --ignore-externals --show-updates
$ svn info --xml
Direct Use SVN Command Line Output
svn stat --no-ignore --ignore-externals M api\event.js