From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9615 invoked from network); 9 May 2005 18:10:59 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 9 May 2005 18:10:59 -0000 Received: (qmail 47854 invoked from network); 9 May 2005 18:10:53 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 9 May 2005 18:10:53 -0000 Received: (qmail 15073 invoked by alias); 9 May 2005 18:10:50 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21243 Received: (qmail 15059 invoked from network); 9 May 2005 18:10:49 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 9 May 2005 18:10:49 -0000 Received: (qmail 47556 invoked from network); 9 May 2005 18:10:49 -0000 Received: from acolyte.scowler.net (216.254.112.45) by a.mx.sunsite.dk with SMTP; 9 May 2005 18:10:43 -0000 Received: by acolyte.scowler.net (Postfix, from userid 1000) id D73A370054; Mon, 9 May 2005 14:10:41 -0400 (EDT) Date: Mon, 9 May 2005 14:10:41 -0400 From: Clint Adams To: zsh-workers@sunsite.dk Cc: 308301-forwarded@bugs.debian.org Subject: [zn@mbf.nifty.com: Bug#308301: _subversion: cannot complete the first option of subcmds] Message-ID: <20050509181041.GA29297@scowler.net> Mail-Followup-To: zsh-workers@sunsite.dk, 308301-forwarded@bugs.debian.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 Will this break anything? ----- Forwarded message from Kazuhiro NISHIYAMA ----- For example, `svn info -' does not include `--targets': % svn info - --config-dir --recursive -R And, `svnadmin create --' does not include `--bdb-txn-nosync': % svnadmin create -- --bdb-log-keep --config-dir --fs-type --- /usr/share/zsh/4.2.5/functions/Completion/Unix/_subversion 2005-04-27 09:31:08.000000000 +0900 +++ _subversion 2005-05-09 18:00:29.630884507 +0900 @@ -92,7 +92,7 @@ _svn_subcmd_usage=${${(M)${(f)"$(LC_MESSAGES=C _call_program options svn help $1)"}:#usage:*}#usage: $1 } _svn_subcmds=( - ${${=${${${(M)${(f)"$(LC_MESSAGES=C _call_program options svn help $1)"##*Valid options:}:#* :*}%% #:*}/ arg/:arg:}/(#b)-([[:alpha:]]) \[--([a-z-]##)\](:arg:)#/(--$match[2])-$match[1]$match[3] (-$match[1])--$match[2]$match[3]}[2,-1]} + ${=${${${(M)${(f)"$(LC_MESSAGES=C _call_program options svn help $1)"##*Valid options:}:#* :*}%% #:*}/ arg/:arg:}/(#b)-([[:alpha:]]) \[--([a-z-]##)\](:arg:)#/(--$match[2])-$match[1]$match[3] (-$match[1])--$match[2]$match[3]} ) case $1 in; @@ -169,7 +169,7 @@ _svnadmin_subcmd_usage=${${(M)${(f)"$(LC_MESSAGES=C _call_program options svnadmin help $1)"}:#$1: usage:*}#$1: usage: svnadmin $1 } _svnadmin_subcmds=( - ${${=${${${(M)${(f)"$(LC_MESSAGES=C _call_program options svnadmin help $1)"##*Valid options:}:#*:*}%% #:*}/ arg/:arg:}/(#b)-([[:alpha:]]) \[--([a-z-]##)\](:arg:)#/(--$match[2])-$match[1]$match[3] (-$match[1])--$match[2]$match[3]}[2,-1]} + ${=${${${(M)${(f)"$(LC_MESSAGES=C _call_program options svnadmin help $1)"##*Valid options:}:#*:*}%% #:*}/ arg/:arg:}/(#b)-([[:alpha:]]) \[--([a-z-]##)\](:arg:)#/(--$match[2])-$match[1]$match[3] (-$match[1])--$match[2]$match[3]} ) [[ "$_svnadmin_subcmd_usage" == *REPOS_PATH* ]] && ----- End forwarded message -----