Added tests for additional SVN scenarios

This commit is contained in:
Nils Winkler
2020-06-16 09:24:24 +02:00
parent 47f6682292
commit f933a86ff0
2 changed files with 63 additions and 0 deletions

View File

@@ -1,3 +1,10 @@
#!/usr/bin/env bash
# If the info command is called
# AND the parent folder contains the .svn folder
# THEN return the current path, similar to what `svn info` does
if [[ "$1" = "info" ]] && [[ -d "../.svn" ]]; then
echo "$PWD"
fi
exit 0