From 39b03192816e15a611115e9a2c81de974795da06 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 28 Jun 2009 00:00:33 +0000 Subject: Undo split of vsc-info into individual per-function files git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@401 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- zshfunc/vcs-info/VCS_INFO_svn_get_data | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 zshfunc/vcs-info/VCS_INFO_svn_get_data (limited to 'zshfunc/vcs-info/VCS_INFO_svn_get_data') 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 -} -- cgit v1.2.3