summary refs log tree commit diff
diff options
context:
space:
mode:
-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:)"'
       )