zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: Update VCS_INFO_detect_svn for Subversion 1.7
@ 2011-11-09  5:17 Akinori MUSHA
  2011-11-09 12:49 ` Frank Terbeck
  2011-11-09 16:30 ` Frank Terbeck
  0 siblings, 2 replies; 7+ messages in thread
From: Akinori MUSHA @ 2011-11-09  5:17 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 821 bytes --]

Hi,

The attached patch fixes vcs_info not working under a subversion 1.7
working directory.

--
Akinori MUSHA / http://akinori.org/

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.3
diff -u -r1.3 VCS_INFO_detect_svn
--- Functions/VCS_Info/Backends/VCS_INFO_detect_svn	11 Feb 2011 07:05:09 -0000	1.3
+++ Functions/VCS_Info/Backends/VCS_INFO_detect_svn	9 Nov 2011 05:14:03 -0000
@@ -7,5 +7,5 @@
 [[ $1 == '--flavours' ]] && return 1

 VCS_INFO_check_com ${vcs_comm[cmd]} || return 1
-{ [[ -f ".svn/entries" ]] || [[ -f ".svn/format" ]] } && return 0
-return 1
+vcs_comm[detect_need_file]="entries format"
+VCS_INFO_bydir_detect '.svn' || return 1

[-- Attachment #2: Type: application/pgp-signature, Size: 196 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-11-09 16:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-09  5:17 PATCH: Update VCS_INFO_detect_svn for Subversion 1.7 Akinori MUSHA
2011-11-09 12:49 ` Frank Terbeck
2011-11-09 13:58   ` Frank Terbeck
2011-11-09 15:57     ` Bart Schaefer
2011-11-09 16:07       ` Daniel Shahaf
2011-11-09 16:12       ` Jérémie Roquet
2011-11-09 16:30 ` Frank Terbeck

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).