[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#611175: zsh: VCS_INFO wrongly detects svn repositories

On 27.01.2011 16:58, Frank Terbeck wrote:
> That sounds reasonable. Do you know how stable the "entries" file is
> within the .svn directories with respect to versions? Ie. Does it exist
> in old versions as well as in recent ones? (My knowledge of subversion's
> directory contents are rather limited.)
I don't use svn frequently either but I just happend to have a
~/.svn/authors file which caused the bug. I found this:

So checking:
[[ -f ".svn/entries" || -f ".svn/format" ]] && return 0
should be sufficient for all versions.

Reply to: