Skip to content

Commit af8878d

Browse files
committed
Merge branch 'master' of github.com:JohnstonCode/svn-scm
2 parents e699c2d + 161baae commit af8878d

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ Example:
9292
|`svn.path`|Path to the svn executable|`null`|
9393
|`svn.ignoreMissingSvnWarning`|Ignores the warning when SVN is missing|`false`|
9494
|`svn.diff.withHead`|Show diff changes using latest revision in the repository. Set false to use latest revision in local folder|`true`|
95-
|`svn.layout.trunkRegex`|Regex to detect path for 'trunk' in SVN URL, 'null' to disable. (Ex.: '(trunk)', '(main)')|`"(trunk)"`|
95+
|`svn.layout.trunkRegex`|Regex to detect path for 'trunk' in SVN URL, 'null' to disable. (Ex.: '(trunk)', '(main)')|`"(trunk)(/.*)?"`|
9696
|`svn.layout.trunkRegexName`|Regex group position for name of trunk|`1`|
97-
|`svn.layout.branchesRegex`|Regex to detect path for 'branches' in SVN URL, 'null' to disable. Subpath use 'branches/.\*/(.\*)' (Ex.: 'branches/.\*/(.\*)', 'versions/(.\*)')|`"branches/(.*)"`|
97+
|`svn.layout.branchesRegex`|Regex to detect path for 'branches' in SVN URL, 'null' to disable. Subpath use 'branches/[^/]+/([^/]+)(/.\*)?' (Ex.: 'branches/...', 'versions/...')|`"branches/([^/]+)(/.*)?"`|
9898
|`svn.layout.branchesRegexName`|Regex group position for name of branch|`1`|
99-
|`svn.layout.tagsRegex`|Regex to detect path for 'tags' in SVN URL, 'null' to disable. Subpath use 'tags/.\*/(.\*)'. (Ex.: 'tags/(.\*)', 'stamps/(.\*)')|`"tags/(.*)"`|
99+
|`svn.layout.tagsRegex`|Regex to detect path for 'tags' in SVN URL, 'null' to disable. Subpath use 'tags/[^/]+/([^/]+)(/.\*)?'. (Ex.: 'tags/...', 'stamps/...')|`"tags/([^/]+)(/.*)?"`|
100100
|`svn.layout.tagRegexName`|Regex group position for name of tag|`1`|
101101
|`svn.layout.showFullName`|Set true to show 'branches/\<name\>' and false to show only '\<name\>'|`true`|
102102
|`svn.multipleFolders.enabled`|Allow to find subfolders using SVN|`false`|
@@ -111,3 +111,4 @@ Example:
111111
|`svn.conflicts.autoResolve`|Set file to status resolved after fix conflictss|`false`|
112112
|`svn.update.ignoreExternals`|Set to ignore externals definitions on update (add --ignore-externals)|`true`|
113113
|`svn.default.encoding`|Encoding of svn output if the output is not utf-8. When this parameter is null, the encoding is automatically detected. Example: 'windows-1252'.|`null`|
114+
|`svn.showUpdateMessage`|Show the update message when update is run|`true`|

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@
502502
"null"
503503
],
504504
"description": "Regex to detect path for 'trunk' in SVN URL, 'null' to disable. (Ex.: '(trunk)', '(main)')",
505-
"default": "(trunk)"
505+
"default": "(trunk)(/.*)?"
506506
},
507507
"svn.layout.trunkRegexName": {
508508
"type": [
@@ -516,8 +516,8 @@
516516
"string",
517517
"null"
518518
],
519-
"description": "Regex to detect path for 'branches' in SVN URL, 'null' to disable. Subpath use 'branches/.*/(.*)' (Ex.: 'branches/.*/(.*)', 'versions/(.*)')",
520-
"default": "branches/(.*)"
519+
"description": "Regex to detect path for 'branches' in SVN URL, 'null' to disable. Subpath use 'branches/[^/]+/([^/]+)(/.*)?' (Ex.: 'branches/...', 'versions/...')",
520+
"default": "branches/([^/]+)(/.*)?"
521521
},
522522
"svn.layout.branchesRegexName": {
523523
"type": [
@@ -531,8 +531,8 @@
531531
"string",
532532
"null"
533533
],
534-
"description": "Regex to detect path for 'tags' in SVN URL, 'null' to disable. Subpath use 'tags/.*/(.*)'. (Ex.: 'tags/(.*)', 'stamps/(.*)')",
535-
"default": "tags/(.*)"
534+
"description": "Regex to detect path for 'tags' in SVN URL, 'null' to disable. Subpath use 'tags/[^/]+/([^/]+)(/.*)?'. (Ex.: 'tags/...', 'stamps/...')",
535+
"default": "tags/([^/]+)(/.*)?"
536536
},
537537
"svn.layout.tagRegexName": {
538538
"type": [

0 commit comments

Comments
 (0)