svn-helper is a command line tool that aims to improve working with multiple subversion repositories at specific versions. For this it provides commands to switch multiple working copies at once.
svn-helper help [COMMAND]
svn-helper merge [PATH]
svn-helper switch [PATH]
svn-helper switch-release
svn-helper switch-subsystem [SUBSYSTEM]
display help for svn-helper
USAGE
$ svn-helper help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
merge from another version
USAGE
$ svn-helper merge [PATH]
OPTIONS
-b, --branch=(trunk|branches|tags) branch type
-h, --help show CLI help
-q, --quiet supress svn output
-v, --version=version version
ALIASES
$ svn-helper m
EXAMPLES
$ svn-helper merge -b trunk
$ svn-helper merge -b branches -v 1.2.3
See code: src/commands/merge.ts
switch repository to a different version
USAGE
$ svn-helper switch [PATH]
OPTIONS
-b, --branch=(trunk|branches|tags) branch type
-h, --help show CLI help
-q, --quiet supress svn output
-v, --version=version version
ALIASES
$ svn-helper sw
EXAMPLES
$ svn-helper switch -b trunk
$ svn-helper switch -b branches -v 1.2.3
See code: src/commands/switch.ts
switch repositories to configured release versions
USAGE
$ svn-helper switch-release
OPTIONS
-h, --help show CLI help
-q, --quiet supress svn output
-r, --release=release release name
ALIASES
$ svn-helper swr
EXAMPLE
$ svn-helper switch-release -r 1.2
See code: src/commands/switch-release.ts
switch repositories for a configured subsystem to a different version
USAGE
$ svn-helper switch-subsystem [SUBSYSTEM]
OPTIONS
-b, --branch=(trunk|branches|tags) branch type
-h, --help show CLI help
-q, --quiet supress svn output
-v, --version=version version
ALIASES
$ svn-helper sws
EXAMPLES
$ svn-helper switch-subsystem -b trunk subsystem1
$ svn-helper switch-subsystem -b branches -v 1.2.3 subsystem1
See code: src/commands/switch-subsystem.ts
.svnhelper.conf
{
"releases": [
{
"name": "TestRelease",
"versions": [
{"name": "branches/1.0", "projects": ["proj1", "proj3"]},
{"name": "branches/1.2.3", "projects": ["proj2", "proj4", "proj5"]}
]
},
{
"name": "TestRelease2",
"versions": [
{"name": "branches/1.2.3", "projects": ["proj1", "proj3"]},
{"name": "branches/1.2.3", "projects": ["proj2", "proj4"]}
]
}
],
"subsystems": [
{
"name": "core",
"projects": ["proj1"]
},
{
"name": "pluginA",
"projects": ["proj2"]
},
{
"name": "SystemX",
"projects": ["proj3", "proj4"]
}
]
}
It is assumed that the subversion repositories adhere to the recommend directory structure using trunk, branches/{version} and tags/{version}.