From: Clint Adams <clint@zsh.org>
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]
Date: Mon, 9 May 2005 14:10:41 -0400 [thread overview]
Message-ID: <20050509181041.GA29297@scowler.net> (raw)
Will this break anything?
----- Forwarded message from Kazuhiro NISHIYAMA <zn@mbf.nifty.com> -----
For example, `svn info -<tab>' does not include `--targets':
% svn info -<tab>
--config-dir --recursive -R
And, `svnadmin create --<tab>' does not include `--bdb-txn-nosync':
% svnadmin create --<tab>
--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 -----
next reply other threads:[~2005-05-09 18:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-09 18:10 Clint Adams [this message]
2005-06-14 15:12 ` Clint Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050509181041.GA29297@scowler.net \
--to=clint@zsh.org \
--cc=308301-forwarded@bugs.debian.org \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).