From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24942 invoked by alias); 6 Dec 2011 16:36:38 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16602 Received: (qmail 6208 invoked from network); 6 Dec 2011 16:36:25 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_PASS autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at m.gmane.org designates 80.91.229.12 as permitted sender) X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@zsh.org From: Simon Olofsson Subject: Re: Subversion (SVN) 1.7 Autocompletion issues Date: Tue, 06 Dec 2011 17:24:01 +0100 Message-ID: <4EDE41A1.4080108@olofsson.de> References: <439FB5BE-8EAE-4F8F-ADE0-F735A6885C89@wi.uni-muenster.de> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cgn01.cm4all.net User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0 In-Reply-To: <439FB5BE-8EAE-4F8F-ADE0-F735A6885C89@wi.uni-muenster.de> 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 > _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. >