aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2003-12-05 16:54:36 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2003-12-05 16:54:36 +0000
commitf490c7c312fe032287a12a16638ad4f3411b8028 (patch)
tree19ae8cc40c3a6b14d1e3c0a0a5d22ead26706597
parentacf07cae911b726de33e6c6d03cdc56221c73c40 (diff)
downloadzsh-f490c7c312fe032287a12a16638ad4f3411b8028.tar.gz
zsh-f490c7c312fe032287a12a16638ad4f3411b8028.tar.xz
zsh-f490c7c312fe032287a12a16638ad4f3411b8028.zip
adjust to work with the newer version of subversion's help output
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_subversion2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 32e9b3e9d..937b47a35 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,11 @@
* 19276: Completion/Base/Completer/_prefix: fix fallback used to
get completer list if the style lookup failed
+2003-12-04 Oliver Kiddle <opk@zsh.org>
+
+ * unposted: Completion/Unix/Command/_subversion: small addition to
+ output from `svn help diff' broke substitution for getting options
+
2003-12-03 Peter Stephenson <pws@csr.com>
* 19269: Src/pattern.c, Misc/globtests, Test/D02glob.ztst:
diff --git a/Completion/Unix/Command/_subversion b/Completion/Unix/Command/_subversion
index 538a33d1a..5e5b16068 100644
--- a/Completion/Unix/Command/_subversion
+++ b/Completion/Unix/Command/_subversion
@@ -67,7 +67,7 @@ _svn_subcommand () {
_svn_subcmd_usage=${${(M)${(f)"$(_call_program options svn help $1)"}:#usage:*}#usage: $1 }
_svn_subcmds=(
- ${${=${${${(M)${(f)"$(_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)"$(_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]}
)
case $1 in;