svn_prompt: Check for svnversion

MacOS Catalina apparently ships a stripped down svn that doesn't have
`svnversion`, which we use to print the revision.

For now skip the entire step to remove error spam.

Fixes #6267.

[ci skip]
This commit is contained in:
Fabian Homborg 2019-10-30 21:45:50 +01:00
parent 20314c5b3d
commit 8acff328e0

View File

@ -90,8 +90,8 @@ end
function fish_svn_prompt --description "Prompt function for svn"
# if svn isn't installed then don't do anything
if not command -sq svn
# if svn isn't installed or doesn't offer svnversion then don't do anything
if not command -sq svn svnversion
return 1
end