Skip to content

Commit 3ba53e4

Browse files
committed
published v1.5.0
1 parent adc942c commit 3ba53e4

File tree

4 files changed

+29
-39
lines changed

4 files changed

+29
-39
lines changed

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
# **v1.5.0 UNDER DEVELOPMENT**
1+
# **v1.5.0**
2+
3+
## What's New
4+
5+
* @rwatts3 Added Svn patch command
26

37
# **v1.4.6**
48

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,4 @@ If you use [TortoiseSVN](https://tortoisesvn.net/), make sure the option
4141
* @JohnstonCode
4242
* @edgardmessias
4343
* @csholmq
44+
* @rwatts3

package.json

+16-33
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": "1.4.6",
5+
"version": "1.5.0",
66
"publisher": "johnstoncode",
77
"engines": {
88
"vscode": "^1.17.0"
@@ -16,18 +16,9 @@
1616
"bugs": {
1717
"url": "https://github.com/JohnstonCode/svn-scm/issues"
1818
},
19-
"categories": [
20-
"Other",
21-
"SCM Providers"
22-
],
23-
"keywords": [
24-
"multi-root ready",
25-
"scm",
26-
"svn"
27-
],
28-
"activationEvents": [
29-
"*"
30-
],
19+
"categories": ["Other", "SCM Providers"],
20+
"keywords": ["multi-root ready", "scm", "svn"],
21+
"activationEvents": ["*"],
3122
"main": "./out/extension",
3223
"scripts": {
3324
"vscode:prepublish": "tsc -p ./",
@@ -160,41 +151,33 @@
160151
"default": true
161152
},
162153
"svn.path": {
163-
"type": [
164-
"string",
165-
"null"
166-
],
154+
"type": ["string", "null"],
167155
"description": "Path to the svn executable",
168156
"default": null,
169157
"isExecutable": true
170158
},
171159
"svn.diff.withHead": {
172160
"type": "boolean",
173-
"description": "Show diff changes using latest revision in the repository. Set false to use latest revision in local folder",
161+
"description":
162+
"Show diff changes using latest revision in the repository. Set false to use latest revision in local folder",
174163
"default": true
175164
},
176165
"svn.layout.trunk": {
177-
"type": [
178-
"string",
179-
"null"
180-
],
181-
"description": "Relative path for 'trunk' in SVN URL, 'null' to disable. (Ex.: 'trunk', 'main')",
166+
"type": ["string", "null"],
167+
"description":
168+
"Relative path for 'trunk' in SVN URL, 'null' to disable. (Ex.: 'trunk', 'main')",
182169
"default": "trunk"
183170
},
184171
"svn.layout.branches": {
185-
"type": [
186-
"string",
187-
"null"
188-
],
189-
"description": "Relative path for 'branches' in SVN URL, 'null' to disable. (Ex.: 'branches', 'versions')",
172+
"type": ["string", "null"],
173+
"description":
174+
"Relative path for 'branches' in SVN URL, 'null' to disable. (Ex.: 'branches', 'versions')",
190175
"default": "branches"
191176
},
192177
"svn.layout.tags": {
193-
"type": [
194-
"string",
195-
"null"
196-
],
197-
"description": "Relative path for 'tags' in SVN URL, 'null' to disable. (Ex.: 'tags', 'stamps')",
178+
"type": ["string", "null"],
179+
"description":
180+
"Relative path for 'tags' in SVN URL, 'null' to disable. (Ex.: 'tags', 'stamps')",
198181
"default": "tags"
199182
},
200183
"svn.multipleFolders.enabled": {

src/commands.ts

+7-5
Original file line numberDiff line numberDiff line change
@@ -347,15 +347,17 @@ export class SvnCommands {
347347
window.showErrorMessage("Unable to update");
348348
}
349349
}
350-
351-
@command('svn.patch', { repository: true })
350+
351+
@command("svn.patch", { repository: true })
352352
async patch(repository: Repository) {
353353
try {
354354
const result = await repository.repository.patch();
355355
// send the patch results to a new tab
356-
workspace.openTextDocument({language: 'diff', content: result }).then(doc => {
357-
window.showTextDocument(doc);
358-
});
356+
workspace
357+
.openTextDocument({ language: "diff", content: result })
358+
.then(doc => {
359+
window.showTextDocument(doc);
360+
});
359361
window.showInformationMessage("Files Patched");
360362
} catch (error) {
361363
console.error(error);

0 commit comments

Comments
 (0)