about summary refs log tree commit diff
path: root/Functions/VCS_Info/Backends/VCS_INFO_detect_svn
blob: bb9d083ac2116d16acf88a516bc0905337c7dc52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
## vim:ft=zsh
## subversion support by: Frank Terbeck <ft@bewatermyfriend.org>
## Distributed under the same BSD-ish license as zsh itself.

setopt localoptions NO_shwordsplit

[[ $1 == '--flavours' ]] && return 1

VCS_INFO_check_com ${vcs_comm[cmd]} || return 1
[[ -d ".svn" ]] && return 0
return 1