sven
v0.2.3
Published
Sven is a SVN command line with sugar added
Downloads
40
Readme
SVEN is Subversion Enhanced Now
TLDR; SVN command line with delicious sugar on top.
Features
- Aware of your projects and allows you to quickly switch between your personal branches
- Show modified files in a pretty table format
- Shows log (in branch) in a pretty table format
- Create new branches with an option to switch to that branch automatically
- Easily delete your personal branches in bulk
- svn blame with line numbers
- Non-Sven commands are passed through to SVN so you can use SVEN like SVN
- Supports commit integration with bug/issue trackers when used in conjunction with
sven modified -c
Prerequisites
- Node.Js is installed and in your path
- SVN command line is installed and in your path
Installation
npm install sven -g
Setup
Sven is vastly more useful when it's aware of your projects. To set this up you will need to provide sven with project name path to your trunk and branches. You can do this through sven config
subcommand.
To add a new project XYZ:
sven config -a XYZ
Follow the prompts
Usage: config [options] Options: -h, --help output usage information -a, --add <project> Add project <project> -r, --remove <project> Remove project <project>
Manually
You can manually set this up by adding .sven.json
file to your home directory with the following format
{
"XYZ": {
"trunk": "https://myrepo/svn/XYZ/community/carma",
"branch": "https://myrepo/svn/XYZ/developers/xiaoxin/"
},
"abc": {
"trunk": "https://myrepo/svn/abc/community/web",
"branch": "https://myrepo/svn/abc/developers/xiaoxin/"
}
}