diff options
Diffstat (limited to 'zshfunc/vcs-info/VCS_INFO_svn_get_data')
-rw-r--r-- | zshfunc/vcs-info/VCS_INFO_svn_get_data | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/zshfunc/vcs-info/VCS_INFO_svn_get_data b/zshfunc/vcs-info/VCS_INFO_svn_get_data deleted file mode 100644 index fccf016..0000000 --- a/zshfunc/vcs-info/VCS_INFO_svn_get_data +++ /dev/null @@ -1,17 +0,0 @@ -VCS_INFO_svn_get_data () { # {{{ - setopt localoptions noksharrays - local svnbase svnbranch - local -a svninfo - - svnbase="." - while [[ -d "${svnbase}/../.svn" ]]; do - svnbase="${svnbase}/.." - done - svnbase="$(VCS_INFO_realpath ${svnbase})" - svninfo=( ${${${(M)${(f)"$( svn info )"}:#(#s)(URL|Revision)*}/*: /}/*\//} ) - - zstyle -s ":vcs_info:${vcs}:${usercontext}" branchformat svnbranch || svnbranch="%b:%r" - zformat -f svnbranch "${svnbranch}" "b:${svninfo[1]}" "r:${svninfo[2]}" - VCS_INFO_formats '' "${svnbranch}" "${svnbase}" - return 0 -} |