about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrank Terbeck <bewater@users.sourceforge.net>2011-02-11 07:05:09 +0000
committerFrank Terbeck <bewater@users.sourceforge.net>2011-02-11 07:05:09 +0000
commitf5b07d486868dcfa5c4b2b9a2fddccb70498515e (patch)
treedd53e7f381fcd3279ef3947d93922cb53f86ef37
parent732a07ad955c744247cce845995475f857cfafb2 (diff)
downloadzsh-f5b07d486868dcfa5c4b2b9a2fddccb70498515e.tar.gz
zsh-f5b07d486868dcfa5c4b2b9a2fddccb70498515e.tar.xz
zsh-f5b07d486868dcfa5c4b2b9a2fddccb70498515e.zip
Lennart Weller: 28739: Fix svn detection in vcs_info
-rw-r--r--ChangeLog8
-rw-r--r--Functions/VCS_Info/Backends/VCS_INFO_detect_svn2
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 98989764f..194ce5049 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-02-11  Frank Terbeck  <ft@bewatermyfriend.org>
+
+	* Lennart Weller: 28739:
+	Functions/VCS_Info/Backends/VCS_INFO_detect_svn: Fix svn
+	detection in vcs_info.
+
 2011-02-10  Barton E. Schaefer  <schaefer@zsh.org>
 
 	* users/15759 (slightly augmented): Functions/Zle/send-invisible,
@@ -14181,5 +14187,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5193 $
+* $Revision: 1.5194 $
 *****************************************************
diff --git a/Functions/VCS_Info/Backends/VCS_INFO_detect_svn b/Functions/VCS_Info/Backends/VCS_INFO_detect_svn
index bb9d083ac..a777ecc43 100644
--- a/Functions/VCS_Info/Backends/VCS_INFO_detect_svn
+++ b/Functions/VCS_Info/Backends/VCS_INFO_detect_svn
@@ -7,5 +7,5 @@ setopt localoptions NO_shwordsplit
 [[ $1 == '--flavours' ]] && return 1
 
 VCS_INFO_check_com ${vcs_comm[cmd]} || return 1
-[[ -d ".svn" ]] && return 0
+{ [[ -f ".svn/entries" ]] || [[ -f ".svn/format" ]] } && return 0
 return 1