+ svn status --ignore-externals "$@" | grep -v "^X" | \
+ sed -e "s/^\?.*$/${SVN_ST_UNKNOWN_COLOR}\0${NORMAL}/" \
+ -e "s/^!.*$/${SVN_ST_MISSING_COLOR}\0${NORMAL}/" \
+ -e "s/^A.*$/${SVN_ST_ADDED_COLOR}\0${NORMAL}/" \
+ -e "s/^M.*$/${SVN_ST_MODIFIED_COLOR}\0${NORMAL}/" \
+ -e "s/^D.*$/${SVN_ST_DELETED_COLOR}\0${NORMAL}/"
+elif hg status 1> /dev/null 2>&1; then
+ hg status "$@"