about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2007-03-13 18:19:28 +0000
committerClint Adams <clint@users.sourceforge.net>2007-03-13 18:19:28 +0000
commit8f4c1bd0076fcd8c5f8e9245ada2660e5df9fefa (patch)
tree523620d747c6843215d0f56e58d850ca7f8faa45
parent3b1e0d035162c73addd215f3892e51eaa4cf67da (diff)
downloadzsh-8f4c1bd0076fcd8c5f8e9245ada2660e5df9fefa.tar.gz
zsh-8f4c1bd0076fcd8c5f8e9245ada2660e5df9fefa.tar.xz
zsh-8f4c1bd0076fcd8c5f8e9245ada2660e5df9fefa.zip
23214: complete files after svn commit --file.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_subversion3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 204e7e676..80f900ef2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-13  Clint Adams  <clint@zsh.org>
+
+	* 23214: Completion/Unix/Commands/_subversion: complete files
+	after svn commit --file.
+
 2007-02-10  Felix Rosencrantz <f.rosencrantz@gmail.com>
 
 	* unposted: Completion/Unix/Command/_comm: added -s flag to
diff --git a/Completion/Unix/Command/_subversion b/Completion/Unix/Command/_subversion
index 75f33e205..84e63a343 100644
--- a/Completion/Unix/Command/_subversion
+++ b/Completion/Unix/Command/_subversion
@@ -40,7 +40,8 @@ _svn () {
             )
           ;;
           (commit)
-            args+=(
+            args=(
+	      ${args/(#b)(*--file*):arg:/$match[1]:file:_files}
               '*:file:_files -g "*(e:_svn_status:)"'
             )
           ;;