summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_subversion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_subversion')
-rw-r--r--Completion/Unix/Command/_subversion7
1 files changed, 5 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_subversion b/Completion/Unix/Command/_subversion
index 8fc46a292..ccaf310fa 100644
--- a/Completion/Unix/Command/_subversion
+++ b/Completion/Unix/Command/_subversion
@@ -139,7 +139,7 @@ _svn () {
;;
(commit)
args=(
- ${args/(#b)(*--file*):arg:/$match[1]:file:_files}
+ ${args/(#b)(*--file*):arg:/${match[1]}:file:_files}
'*:file: _svn_modified "committable"'
)
;;
@@ -189,7 +189,7 @@ _svn () {
args=(
':propname:(svn:ignore svn:keywords svn:executable svn:eol-style svn:mime-type svn:externals svn:needs-lock svn:global-ignores svn:auto-props)'
':propval:->propset_propval'
- ${args/(#b)(*--file*):arg:/$match[1]:file:_files}
+ ${args/(#b)(*--file*):arg:/${match[1]}:file:_files}
'*:path or url: _alternative "files:file:_files" "urls:URL:_svn_urls"'
)
;;
@@ -318,6 +318,9 @@ _svnadmin () {
# Test cases:
# svnadmin freeze . rsync --<TAB> offers --file
# svnadmin freeze -- . rsync -<TAB> offers rsync's options
+ # svnadmin freeze . -- rsync -<TAB> should do the same (but currently doesn't)
+ #
+ # TODO: Fix the third case.
#
# Note: the NORMARG calculations here include one positional argument
# (the '.') before the command.