Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Subversion (SVN) 1.7 Autocompletion issues



Till,

I had the same problem. Here is a patch which should fix this:
 http://git.io/lafJFw

Does it work for you?

Regards,
Simon

On 11/16/2011 08:33 AM, Till Haselmann wrote:
Dear all,

I use zsh’s autocomplete feature for the subversion (svn) command line intensively.  After upgrading to svn 1.7, however, the autocomplete of filenames stopped working, returning the following error:

% svn ci Cl<tab>
_arguments:comparguments:312: invalid argument: [--cl]:arg:
_arguments:comparguments:312: invalid argument: [--cl]:arg:
_arguments:comparguments:312: invalid argument: [--cl]:arg:

I suspect it’s because of a changed line in the “svn help” output:

--changelist [--cl] PAR  : operate only on members of changelist ARG

which used to be something similar, but without the “[--cl]” part.  I’ve looked into _arguments and _subversion, but to be honest I’m quite overwhelmed by the cryptic commands – even though I’m not too unfamiliar with scripting ;-)

I’m using zsh 4.3.12 (i386-apple-darwin11.2.0) and svn 1.7.1 (r1186859).  I built both using macports on Mac OS X 10.7.2.

Does anybody have a pointer/fix/workaround for me?  Thanks in advance.

Best regards
Till.





Messages sorted by: Reverse Date, Date, Thread, Author