5

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?

volni
  • 4,636
  • 8
  • 35
  • 44

2 Answers2

6

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!

a'r
  • 32,482
  • 7
  • 61
  • 65
Alex Barrett
  • 14,998
  • 3
  • 48
  • 51
-1

Try tortoisesvn. It helps you do all this from the explorer (Assuming you're on windows).

Nick DeVore
  • 9,153
  • 3
  • 35
  • 41
  • 3
    The path `file:///var/svn/repos/my-projects` implies that he is not using Windows, although it is still possible he is. – Alex Barrett Sep 29 '09 at 16:04
  • It is possible he is using something like `cygwin`, though you are right, it is unlikely. – trysis May 13 '16 at 18:49