diff options
author | Frank Terbeck <ft@bewatermyfriend.org> | 2011-02-20 13:16:20 +0100 |
---|---|---|
committer | Frank Terbeck <ft@bewatermyfriend.org> | 2011-03-02 18:55:25 +0100 |
commit | 6219ec1fe3bd18183030665947886f87b3fbbb87 (patch) | |
tree | 12b0a9944f4bed797d5a0aa043f50f886d8647ca /debian/patches/0002-vcs_info-svn-detection.diff | |
parent | 545b40eaf970df91420898303d8c1e558677ac63 (diff) | |
download | zsh-6219ec1fe3bd18183030665947886f87b3fbbb87.tar.gz zsh-6219ec1fe3bd18183030665947886f87b3fbbb87.zip |
Fix detection of svn repositories in vcs_info (Closes: #611175)
See <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611175> for details.
Diffstat (limited to 'debian/patches/0002-vcs_info-svn-detection.diff')
-rw-r--r-- | debian/patches/0002-vcs_info-svn-detection.diff | 14 |
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 |