diff options
author | Frank Terbeck <bewater@users.sourceforge.net> | 2011-11-09 17:49:25 +0000 |
---|---|---|
committer | Frank Terbeck <bewater@users.sourceforge.net> | 2011-11-09 17:49:25 +0000 |
commit | 6ed7fab103836bb4fd716e90eef255630674fffe (patch) | |
tree | 1b38540bb2aea1177cb910d958a2cbe4b56c4de0 /Functions/VCS_Info | |
parent | 970adcc4d0e9f2ab08439d9db43076e02885553b (diff) | |
download | zsh-6ed7fab103836bb4fd716e90eef255630674fffe.tar.gz zsh-6ed7fab103836bb4fd716e90eef255630674fffe.tar.xz zsh-6ed7fab103836bb4fd716e90eef255630674fffe.zip |
Akinori MUSHA: 29900: Backends/VCS_INFO_detect_svn: Adjust detection to support subversion 1.7.
Diffstat (limited to 'Functions/VCS_Info')
-rw-r--r-- | Functions/VCS_Info/Backends/VCS_INFO_detect_svn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/VCS_Info/Backends/VCS_INFO_detect_svn b/Functions/VCS_Info/Backends/VCS_INFO_detect_svn index a777ecc43..43dedcde9 100644 --- a/Functions/VCS_Info/Backends/VCS_INFO_detect_svn +++ b/Functions/VCS_Info/Backends/VCS_INFO_detect_svn @@ -7,5 +7,5 @@ setopt localoptions NO_shwordsplit [[ $1 == '--flavours' ]] && return 1 VCS_INFO_check_com ${vcs_comm[cmd]} || return 1 -{ [[ -f ".svn/entries" ]] || [[ -f ".svn/format" ]] } && return 0 -return 1 +vcs_comm[detect_need_file]="entries format" +VCS_INFO_bydir_detect '.svn' || return 1 |