Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Subversion Repository Autocomplete

Tags:

When entering something like

svn checkout file:///var/svn/repos/my-projects

I can use to autocomplete up to repos/ but after that I can't. I know that Subversion's files in the repository don't mirror a standard directory structure so that is probably the reason.

However, if I'm checking out just one file its a pain to try to remember the whole path or even type it out.

Is there anyway to autocomplete the whole way? Or is it standard practice to just checkout the whole repository?

like image 870
volni Avatar asked Sep 29 '09 15:09

volni


1 Answers

If you are using bash there is almost certainly a bash-completion script you could use. A quick search reveals an extremely promising script hosted in the offical Subversion repository: ../tools/client-side/bash_completion.

I may well use this myself!

like image 107
Alex Barrett Avatar answered Oct 02 '22 23:10

Alex Barrett