File tree 2 files changed +7
-8
lines changed
2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -191,13 +191,9 @@ export class Repository {
191
191
return ;
192
192
}
193
193
194
- notTracked . push (
195
- new Resource ( uri , status . status , renameUri )
196
- ) ;
194
+ notTracked . push ( new Resource ( uri , status . status , renameUri ) ) ;
197
195
} else {
198
- changes . push (
199
- new Resource ( uri , status . status , renameUri )
200
- ) ;
196
+ changes . push ( new Resource ( uri , status . status , renameUri ) ) ;
201
197
}
202
198
} ) ;
203
199
@@ -220,7 +216,9 @@ export class Repository {
220
216
}
221
217
222
218
show ( filePath : string , revision ?: string ) : Promise < string > {
223
- return this . repository . show ( filePath , revision ) ;
219
+ return this . repository . show ( filePath , revision , {
220
+ cwd : this . workspaceRoot
221
+ } ) ;
224
222
}
225
223
226
224
addFile ( filePath : string ) {
Original file line number Diff line number Diff line change @@ -107,7 +107,8 @@ export class SvnContentProvider implements TextDocumentContentProvider {
107
107
}
108
108
109
109
try {
110
- return await repository . show ( uri . fsPath , revision ) ;
110
+ const { path } = fromSvnUri ( uri ) ;
111
+ return await repository . show ( path , revision ) ;
111
112
} catch ( error ) {
112
113
return "" ;
113
114
}
You can’t perform that action at this time.
0 commit comments