[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Patch for bash-completion that enables Subversion completion

From: Campbell, Matthew A <Matthew.Campbell_at_Relizon.com>
Date: 2004-07-27 19:03:07 CEST

> So, I rolled my own. But, in the spirit of Master Foo (right,
> Matthew?),
> and The Unix Way, I wrote a little Perl script that generates
> shell code
> to implement completion, using the 'svn help' command. This
> has the nice
> property of allowing me to automatically generate the code
> whenever svn
> options or subcommands change. I have attached the Perl
> script as well,
> just in case you are interested.

Yes, I'm sure Master Foo would approve of auto-generating code. :)

However, you may be re-inventing the wheel to some extent. The Debian
unstable distro of svn comes with bash-completion which automatically
installs into /etc/bash-completion.d - so somebody has already done this
before. I'd thought it was already in the subversion /contrib (like the
spiffy svn.vim script is) but I see it's not. One version or the other
really ought to be, for those poor non-Debian folks. ;) (Actually, like
myself when at work...)

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 27 19:09:03 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.