Skip to content

Commit 71812ed

Browse files
Adrian BlasiakAdrian Blasiak
authored andcommitted
fixes #788
1 parent dbe1fc1 commit 71812ed

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/svnRepository.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,13 @@ export class Repository {
342342
}
343343
}
344344
}
345+
else {
346+
const svnEncoding: string | undefined = configuration.get<string>("default.encoding");
347+
if (svnEncoding) {
348+
encoding = svnEncoding;
349+
}
350+
}
351+
345352

346353
const result = await this.exec(args, { encoding });
347354

@@ -398,7 +405,7 @@ export class Repository {
398405

399406
const filesMessage = `${sendedFiles} ${
400407
sendedFiles === 1 ? "file" : "files"
401-
} commited`;
408+
} commited`;
402409

403410
return `${filesMessage}: revision ${matches[1]}.`;
404411
}

0 commit comments

Comments
 (0)