1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-01 19:41:00 +02:00
zsh/Functions/VCS_Info/Backends/VCS_INFO_detect_svn

11 lines
338 B
Bash

## 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
{ [[ -f ".svn/entries" ]] || [[ -f ".svn/format" ]] } && return 0
return 1