diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2005-04-01 18:28:20 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2005-04-01 18:28:20 +0000 |
commit | e75966d3c77116216ac21471b580e09907b56b97 (patch) | |
tree | 255684fdaea40d386fafb39c2c6fa94a7ddbb63f /Completion/Unix | |
parent | db44e186c9ae646c03bb2ca1c3399610840d8f52 (diff) | |
download | zsh-e75966d3c77116216ac21471b580e09907b56b97.tar.gz zsh-e75966d3c77116216ac21471b580e09907b56b97.tar.xz zsh-e75966d3c77116216ac21471b580e09907b56b97.zip |
correct handling of svn commit
Diffstat (limited to 'Completion/Unix')
-rw-r--r-- | Completion/Unix/Command/_subversion | 13 |
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:)"' ) |