Merge pull request #1389 from martinus/master

Improved subversion support for powerline
This commit is contained in:
Nils Winkler
2019-07-08 08:41:06 +02:00
committed by GitHub
2 changed files with 3 additions and 0 deletions

View File

@@ -87,6 +87,7 @@ function scm {
elif [[ -d .hg ]] && which hg &> /dev/null; then SCM=$SCM_HG
elif which hg &> /dev/null && [[ -n "$(hg root 2> /dev/null)" ]]; then SCM=$SCM_HG
elif [[ -d .svn ]] && which svn &> /dev/null; then SCM=$SCM_SVN
elif which svn &> /dev/null && [[ -n "$(svn info --show-item wc-root 2>/dev/null)" ]]; then SCM=$SCM_SVN
else SCM=$SCM_NONE
fi
}