about summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
authorFrank Terbeck <bewater@users.sourceforge.net>2011-11-09 17:49:25 +0000
committerFrank Terbeck <bewater@users.sourceforge.net>2011-11-09 17:49:25 +0000
commit6ed7fab103836bb4fd716e90eef255630674fffe (patch)
tree1b38540bb2aea1177cb910d958a2cbe4b56c4de0 /Functions
parent970adcc4d0e9f2ab08439d9db43076e02885553b (diff)
downloadzsh-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')
-rw-r--r--Functions/VCS_Info/Backends/VCS_INFO_detect_svn4
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