about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-06-02 08:46:56 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-06-02 08:46:56 +0000
commit7769912b3fa89fc5fe2a4172394de34aee29fca7 (patch)
treefc0ac18edf69205986a8cddb9ff12e74254f7457
parente2a7694f322cd746864d44b2bcb4f043d29b8206 (diff)
downloadzsh-7769912b3fa89fc5fe2a4172394de34aee29fca7.tar.gz
zsh-7769912b3fa89fc5fe2a4172394de34aee29fca7.tar.xz
zsh-7769912b3fa89fc5fe2a4172394de34aee29fca7.zip
Akinori MUSHA: private communication: fix typo in _subversion
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_subversion2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e2aa23912..305c236b5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2009-06-02  Peter Stephenson  <pws@csr.com>
 
+	* Akinori MUSHA: private communication:
+	Completion/Unix/Command/_subversion: fix typo.
+
 	* Config/version.mk: update version recorded in archive
 	to 4.3.10-dev-1 (not released).
 
@@ -11809,5 +11812,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4707 $
+* $Revision: 1.4708 $
 *****************************************************
diff --git a/Completion/Unix/Command/_subversion b/Completion/Unix/Command/_subversion
index d31f0243a..b4e47d330 100644
--- a/Completion/Unix/Command/_subversion
+++ b/Completion/Unix/Command/_subversion
@@ -150,7 +150,7 @@ _svnadmin () {
         args=(
           ${=${${${(M)${(f)"$(LC_ALL=C _call_program options svnadmin help $cmd)"#(*Valid options:|(#e))}:#* :*}%% #:*}/ (arg|ARG)/:arg:}/(#b)-([[:alpha:]]) \[--([a-z-]##)\](:arg:)#/(--$match[2])-$match[1]$match[3] (-$match[1])--$match[2]$match[3]}
         )
-        if [[ $_svnadmin_subcmd_usage == *REPOS_PATH* ]]; then
+        if [[ $usage == *REPOS_PATH* ]]; then
           args+=( ":path:_files -/" )
         elif [[ $cmd = help ]]; then
           args+=( "*:subcommand:_svnadmin_commands" )