summaryrefslogtreecommitdiff
path: root/zshfunc/vcs-info/VCS_INFO_hg_detect
blob: ea13422c6b7ee5063e0b99fb78454ca50a6ae4bd (plain)
1
2
3
4
5
6
VCS_INFO_hg_detect() { #{{{
    VCS_INFO_check_com hg || return 1
    vcs_comm[detect_need_file]=store
    VCS_INFO_detect_by_dir '.hg'
    return $?
}