https://github.com/hyperlink/sven-cli
SVN command line with sugar added
https://github.com/hyperlink/sven-cli
javascript nodejs repository repository-tools svn
Last synced: about 2 months ago
JSON representation
SVN command line with sugar added
- Host: GitHub
- URL: https://github.com/hyperlink/sven-cli
- Owner: hyperlink
- License: mit
- Created: 2014-03-19T17:01:05.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2017-01-10T21:20:51.000Z (over 9 years ago)
- Last Synced: 2025-03-31T04:36:20.630Z (about 1 year ago)
- Topics: javascript, nodejs, repository, repository-tools, svn
- Language: JavaScript
- Homepage:
- Size: 20.5 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE.txt
Awesome Lists containing this project
README
# SVEN is Subversion Enhanced Now
**TLDR; SVN command line with delicious sugar on top.**

[](https://nodei.co/npm/sven/)
## 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](http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-bugtracker.html) when used in conjunction with `sven modified -c`
## Prerequisites
1. Node.Js is installed and in your path
2. 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 Add project
-r, --remove Remove 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/"
}
}
## License MIT