* [zn@mbf.nifty.com: Bug#308301: _subversion: cannot complete the first option of subcmds]
@ 2005-05-09 18:10 Clint Adams
2005-06-14 15:12 ` Clint Adams
0 siblings, 1 reply; 2+ messages in thread
From: Clint Adams @ 2005-05-09 18:10 UTC (permalink / raw)
To: zsh-workers; +Cc: 308301-forwarded
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 -----
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [zn@mbf.nifty.com: Bug#308301: _subversion: cannot complete the first option of subcmds]
2005-05-09 18:10 [zn@mbf.nifty.com: Bug#308301: _subversion: cannot complete the first option of subcmds] Clint Adams
@ 2005-06-14 15:12 ` Clint Adams
0 siblings, 0 replies; 2+ messages in thread
From: Clint Adams @ 2005-06-14 15:12 UTC (permalink / raw)
To: zsh-workers, 308301
> Will this break anything?
I guess not. Committing.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-06-14 15:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-09 18:10 [zn@mbf.nifty.com: Bug#308301: _subversion: cannot complete the first option of subcmds] Clint Adams
2005-06-14 15:12 ` Clint Adams
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).