diff options
Diffstat (limited to 'zshfunc/vcs-info/VCS_INFO_svk_get_data')
-rw-r--r-- | zshfunc/vcs-info/VCS_INFO_svk_get_data | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/zshfunc/vcs-info/VCS_INFO_svk_get_data b/zshfunc/vcs-info/VCS_INFO_svk_get_data new file mode 100644 index 0000000..70d61b5 --- /dev/null +++ b/zshfunc/vcs-info/VCS_INFO_svk_get_data @@ -0,0 +1,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 +} |