Skip to content
Bash completion for subversion commands and remote repositories
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Bash completion for subversion commands and remote repositories


This script is a merge between Apache's subversion bash completion and Androa's subversion remote repositories completion


To install the script simply add source /path-to/ in .bashrc or .profile files in your home directory


When you type svn in your terminal you can then press TAB key to complete the commands for subversion like merge, checkout, etc. When you type for example svn merge -- and you press the TAB key it will complete all of the arguments for merge command like --revision, --non-interactive, etc. To autocomplete remote paths simply add ^/ as argument and press TAB and it will start completing remote paths based on the base path of your repository.


Q: Script is not working, what might be the problem?

A: On some systems bash complete might not be activated, to activate it add this code to your .bashrc file

[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \
  . /usr/share/bash-completion/bash_completion

Q: When I want to complete remote path nothing happens, any ideas?

A: You need to be in a directory where you have checkout a repository, so the script knows which is the base path of the repostitory. Or if you are in a repo folder, sometimes the server where the repository is located may need few seconds to respond on svn list command (this command is used to create and show a list with all the remote directories). The delay in svn list command will happen only once per terminal session.

Copyright 2014 Peter Luladjiev

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.