Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

lhw@xxxxxxxx, 611175@xxxxxxxxxxxxxxx



...now that CVS is back...

Here's a fix for an issue with vcs_info's subversion detection, which
was reported in the debian BTS (issue #611175¹).

The fix was suggested by Lennart Weller.

¹ <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611175>

Regards, Frank


Index: Functions/VCS_Info/Backends/VCS_INFO_detect_svn
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/VCS_Info/Backends/VCS_INFO_detect_svn,v
retrieving revision 1.2
diff -u -r1.2 VCS_INFO_detect_svn
--- Functions/VCS_Info/Backends/VCS_INFO_detect_svn	11 Dec 2008 09:53:13 -0000	1.2
+++ Functions/VCS_Info/Backends/VCS_INFO_detect_svn	11 Feb 2011 06:27:36 -0000
@@ -8,4 +8,5 @@
 
 VCS_INFO_check_com ${vcs_comm[cmd]} || return 1
 [[ -d ".svn" ]] && return 0
+{ [[ -f ".svn/entries" ]] || [[ -f ".svn/format" ]] } && return 0
 return 1



Messages sorted by: Reverse Date, Date, Thread, Author