From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18575 invoked by alias); 11 Feb 2011 06:36:21 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28738 Received: (qmail 13741 invoked from network); 11 Feb 2011 06:36:18 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at bewatermyfriend.org does not designate permitted sender hosts) From: Frank Terbeck To: zsh-workers@zsh.org Subject: lhw@ring0.de, 611175@bugs.debian.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Date: Fri, 11 Feb 2011 07:34:48 +0100 Message-ID: <877hd7gjuf.fsf@ft.bewatermyfriend.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Df-Sender: 430444 ...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=C2=B9). The fix was suggested by Lennart Weller. =C2=B9 Regards, Frank Index: Functions/VCS_Info/Backends/VCS_INFO_detect_svn =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 -0= 000 1.2 +++ Functions/VCS_Info/Backends/VCS_INFO_detect_svn 11 Feb 2011 06:27:36 -0= 000 @@ -8,4 +8,5 @@ =20 VCS_INFO_check_com ${vcs_comm[cmd]} || return 1 [[ -d ".svn" ]] && return 0 +{ [[ -f ".svn/entries" ]] || [[ -f ".svn/format" ]] } && return 0 return 1