Skip to content

Commit 3435905

Browse files
authored
Merge branch 'master' into 790
2 parents 15dac50 + cf54129 commit 3435905

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [2.6.1](https://github.com/JohnstonCode/svn-scm/compare/v2.6.0...v2.6.1) (2020-01-28)
2+
3+
4+
### Bug Fixes
5+
6+
* fix encoding when comparing file revisions [#788](https://github.com/JohnstonCode/svn-scm/issues/788) ([#789](https://github.com/JohnstonCode/svn-scm/issues/789)) ([f6d5a68](https://github.com/JohnstonCode/svn-scm/commit/f6d5a6807be291c654214d35c84cb101eaa0c57a))
7+
18
# [2.6.0](https://github.com/JohnstonCode/svn-scm/compare/v2.5.0...v2.6.0) (2020-01-27)
29

310

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "svn-scm",
33
"displayName": "SVN",
44
"description": "Integrated Subversion source control",
5-
"version": "2.6.0",
5+
"version": "2.6.1",
66
"publisher": "johnstoncode",
77
"engines": {
88
"vscode": "^1.41.0"

src/svnRepository.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,13 @@ export class Repository {
341341
encoding = detectedEncoding;
342342
}
343343
}
344+
} else {
345+
const svnEncoding: string | undefined = configuration.get<string>(
346+
"default.encoding"
347+
);
348+
if (svnEncoding) {
349+
encoding = svnEncoding;
350+
}
344351
}
345352

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

0 commit comments

Comments
 (0)