about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2003-12-04 13:58:20 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2003-12-04 13:58:20 +0000
commit825c0ad82faa2b2119bd5305f90413b252093a8d (patch)
treebc7d2907c6e15419ce487b52f1159b7d426dca18
parent7d672455bbc8f2142e9fa53db25974d012293b5e (diff)
downloadzsh-825c0ad82faa2b2119bd5305f90413b252093a8d.tar.gz
zsh-825c0ad82faa2b2119bd5305f90413b252093a8d.tar.xz
zsh-825c0ad82faa2b2119bd5305f90413b252093a8d.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 815076754..631f90216 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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 baccb7c94..92cedff7d 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;