Explore the project »
Report Bug
·
Request Feature
Table of Contents
The SVN commands on Linux can be tedious to use, as you have to type "svn" for every command and type the full url path when referencing to the SVN. There are several Linux SVN GUI clients, however, they are outdated and not included in some of the built-in repos.
This SVN CLI interfaces with the svn command, to create a constant user input loop, allowing for more intuitive interaction with the SVN via Linux command line.
- Install svn and rlwrap
sudo yum install svn
sudo yum install rlwrap
- Move contents of this repository to the desired location e.g. /opt/svncli/
- Add the bin folder path to the PATH environment variable e.g. add the following to /etc/bashrc
export PATH=$PATH:/opt/svncli/bin/ - Edit the contents in the config folder to include your svn parent url and repo list
- Run "svncli" in the folder that you would like to interact with
- Enter your login details and choose the repo that you would like to enter
- Use the svn subcommands without the "svn" commands, adding "svn" will run the command as absolute (as written in the terminal) in case the parsing of the command fails.
- Run "help" to get a list of the commands, or run "svn help" to get the original svn documentation
Some commands may have reduced functionality just to create a more intuitive experience. Some commands may work even though they are not listed in the available commands. Please feel free to add to this project if you have any ideas to contribute.
- Add a shortcut to substitute for SVN's current path
- Currently, pressing Ctrl+C cancels the command, but requires you to press enter to go back to main loop. Fix this.
- Streamline the login process, maybe add password encryption and add auto-login during the same shell session
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
MIT