summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/patches/0002-vcs_info-svn-detection.diff14
-rw-r--r--debian/patches/series1
2 files changed, 15 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
diff --git a/debian/patches/series b/debian/patches/series
index ca9b9d128..eee860e06 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
0000-compsys-fuser-fix.diff
0001-colors-with-ksharrays.diff
+0002-vcs_info-svn-detection.diff