about summary refs log tree commit diff
path: root/Functions/VCS_Info/Backends/VCS_INFO_detect_mtn
blob: 3f88ba2ea1e09eae59af8579edbb0798f7576835 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
## vim:ft=zsh
## monotone 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
vcs_comm[detect_need_file]=revision
VCS_INFO_bydir_detect '_MTN'
return $?