You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Sebastian Bergmann <sb...@sebastian-bergmann.de> on 2008/05/31 17:40:44 UTC

Subversion 1.5 and ZSH Completion

 I am using Ubuntu Hardy and a built-from-source Subversion 1.5.0 RC7 in
  $PREFIX=/usr/local/subversion. That directory is in my $PATH.

  I am using Ubuntu's ZSH package. Its completion for Subversion works
  fine with Ubuntu's package for Subversion 1.4.6.

  With Subversion 1.5, however, I only get failures

    sb@ubuntu phpunit % svn up tr<TAB>
    _arguments:comparguments:303: invalid argument: ARG

  Am I missing something? Any help appreciated!

-- 
Sebastian Bergmann                          http://sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Subversion 1.5 and ZSH Completion

Posted by Sebastian Bergmann <sb...@sebastian-bergmann.de>.
Eric Gillespie schrieb:
> but the zsh completion file isn't doing case-insensitive
> matching.  I don't have a real fix, but here's a hacked up copy
> of the completion file that looks for ARG (and therefore won't
> work with svn < 1.5):

  Works for me, thanks!

-- 
Sebastian Bergmann                          http://sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Subversion 1.5 and ZSH Completion

Posted by Eric Gillespie <ep...@pretzelnet.org>.
Sebastian Bergmann <sb...@sebastian-bergmann.de> writes:

>     sb@ubuntu phpunit % svn up tr<TAB>
>     _arguments:comparguments:303: invalid argument: ARG

For 1.5, someone changed uppercased the 'arg' in this:

--config-dir arg         : read user configuration files from directory ARG

so now it's:

--config-dir ARG         : read user configuration files from directory ARG

but the zsh completion file isn't doing case-insensitive
matching.  I don't have a real fix, but here's a hacked up copy
of the completion file that looks for ARG (and therefore won't
work with svn < 1.5):

  http://gvn.googlecode.com/svn/trunk/contrib/zsh/_subversion

--  
Eric Gillespie <*> epg@pretzelnet.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org