summaryrefslogtreecommitdiff
path: root/debian/patches/0002-vcs_info-svn-detection.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0002-vcs_info-svn-detection.diff')
-rw-r--r--debian/patches/0002-vcs_info-svn-detection.diff14
1 files changed, 14 insertions, 0 deletions
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:
+ <http://www.zsh.org/mla/workers/2011/msg00177.html>
+
+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