File tree Expand file tree Collapse file tree 4 files changed +11
-8
lines changed Expand file tree Collapse file tree 4 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 5
5
- Added throttle decorators to try and limit async requests.
6
6
- at 8.1 as i messed versioning up.
7
7
8
+ ## Bug Fixes
9
+ - Fixed issues with only one SCM being created in multi-root
10
+
8
11
** v0.7.0**
9
12
=============================================
10
13
Original file line number Diff line number Diff line change 2
2
"name" : " svn-scm" ,
3
3
"displayName" : " svn-scm" ,
4
4
"description" : " " ,
5
- "version" : " 0.8.0 " ,
5
+ "version" : " 0.8.1 " ,
6
6
"publisher" : " johnstoncode" ,
7
7
"engines" : {
8
8
"vscode" : " ^1.16.0"
Original file line number Diff line number Diff line change @@ -41,21 +41,21 @@ Model.prototype.getRepository = function(path) {
41
41
return liveRepository && liveRepository . repository ;
42
42
} ;
43
43
44
- Model . prototype . getOpenRepository = function ( path ) {
45
- if ( ! path ) {
44
+ Model . prototype . getOpenRepository = function ( hint ) {
45
+ if ( ! hint ) {
46
46
return undefined ;
47
47
}
48
48
49
- if ( path instanceof Repository ) {
50
- return this . openRepositories . filter ( r => r === path ) [ 0 ] ;
49
+ if ( hint instanceof Repository ) {
50
+ return this . openRepositories . filter ( r => r === hint ) [ 0 ] ;
51
51
}
52
52
53
- path = Uri . file ( path ) ;
53
+ hint = Uri . file ( hint ) ;
54
54
55
55
for ( const liveRepository of this . openRepositories ) {
56
56
const relativePath = path . relative (
57
57
liveRepository . repository . root ,
58
- path . fsPath
58
+ hint . fsPath
59
59
) ;
60
60
61
61
if ( ! / ^ \. \. / . test ( relativePath ) ) {
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const { throttleAsync } = require("./decorators");
5
5
function Repository ( repository ) {
6
6
this . repository = repository ;
7
7
this . root = repository . root ;
8
- this . watcher = workspace . createFileSystemWatcher ( "* *") ;
8
+ this . watcher = workspace . createFileSystemWatcher ( this . root + "/**/ *") ;
9
9
this . sourceControl = scm . createSourceControl (
10
10
"svn" ,
11
11
"svn" ,
You can’t perform that action at this time.
0 commit comments