summaryrefslogtreecommitdiff
path: root/zshfunc/vcs-info/VCS_INFO_svk_get_data
blob: 70d61b58da4933fe09f77bafd130adfcbbcecef1 (plain)
1
2
3
4
5
6
7
8
9
VCS_INFO_svk_get_data () { # {{{
    local svkbranch svkbase

    svkbase=${vcs_comm[basedir]}
    zstyle -s ":vcs_info:${vcs}:${usercontext}" branchformat svkbranch || svkbranch="%b:%r"
    zformat -f svkbranch "${svkbranch}" "b:${vcs_comm[branch]}" "r:${vcs_comm[revision]}"
    VCS_INFO_formats '' "${svkbranch}" "${svkbase}"
    return 0
}