From 6219ec1fe3bd18183030665947886f87b3fbbb87 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Sun, 20 Feb 2011 13:16:20 +0100 Subject: Fix detection of svn repositories in vcs_info (Closes: #611175) See for details. --- debian/patches/0002-vcs_info-svn-detection.diff | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 debian/patches/0002-vcs_info-svn-detection.diff (limited to 'debian/patches/0002-vcs_info-svn-detection.diff') diff --git a/debian/patches/0002-vcs_info-svn-detection.diff b/debian/patches/0002-vcs_info-svn-detection.diff new file mode 100644 index 000000000..bbd4eb87e --- /dev/null +++ b/debian/patches/0002-vcs_info-svn-detection.diff @@ -0,0 +1,14 @@ +This is an upstream patch, see: + + +Index: pkg-zsh/Functions/VCS_Info/Backends/VCS_INFO_detect_svn +=================================================================== +--- pkg-zsh.orig/Functions/VCS_Info/Backends/VCS_INFO_detect_svn 2011-02-20 13:14:58.000000000 +0100 ++++ pkg-zsh/Functions/VCS_Info/Backends/VCS_INFO_detect_svn 2011-02-20 13:15:10.000000000 +0100 +@@ -7,5 +7,5 @@ + [[ $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 -- cgit v1.2.3