about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2005-04-01 18:28:20 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2005-04-01 18:28:20 +0000
commite75966d3c77116216ac21471b580e09907b56b97 (patch)
tree255684fdaea40d386fafb39c2c6fa94a7ddbb63f
parentdb44e186c9ae646c03bb2ca1c3399610840d8f52 (diff)
downloadzsh-e75966d3c77116216ac21471b580e09907b56b97.tar.gz
zsh-e75966d3c77116216ac21471b580e09907b56b97.tar.xz
zsh-e75966d3c77116216ac21471b580e09907b56b97.zip
correct handling of svn commit
-rw-r--r--Completion/Unix/Command/_subversion13
1 files changed, 9 insertions, 4 deletions
diff --git a/Completion/Unix/Command/_subversion b/Completion/Unix/Command/_subversion
index 6f9a4f4cc..51f874316 100644
--- a/Completion/Unix/Command/_subversion
+++ b/Completion/Unix/Command/_subversion
@@ -101,10 +101,9 @@ _svn_subcommand () {
         '*:file:_files -g "*(^e:_svn_controlled:)"'
       )
     ;;
-    log)
+    commit)
       _svn_subcmds+=(
-        '1: : _alternative "files:file:_files -g \*\(e:_svn_controlled:\)" "urls:URL:_svn_urls"'
-	'*:file:_files -g "*(e:_svn_controlled:)"'
+        '*:file:_files -g "*(e:_svn_status:)"'
       )
     ;;
     delete)
@@ -112,7 +111,13 @@ _svn_subcommand () {
         '*:file:_files -g ".svn(/e:_svn_deletedfiles:)"'
       )
     ;;
-    revert|commit)
+    log)
+      _svn_subcmds+=(
+        '1: : _alternative "files:file:_files -g \*\(e:_svn_controlled:\)" "urls:URL:_svn_urls"'
+	'*:file:_files -g "*(e:_svn_controlled:)"'
+      )
+    ;;
+    revert)
       _svn_subcmds+=(
         '*:file:_files -g "(.svn|*)(/e:_svn_deletedfiles:,e:_svn_status:)"'
       )