nightly build, scripts: Remove svn support

Remove deprecated svn support.
This commit is contained in:
Gleb Chesnokov
2024-05-02 17:20:01 +03:00
parent f4840e9579
commit 56bb6c0fa6
4 changed files with 10 additions and 47 deletions
+2 -15
View File
@@ -5,25 +5,12 @@ list_source_files() {
d="$(cd "$1" && echo "$PWD")"
r="$d"
while [ "$r" != "/" ] && [ ! -e "$r/.svn" ] && [ ! -e "$r/.git" ] &&
while [ "$r" != "/" ] && [ ! -e "$r/.git" ] &&
[ ! -e "$r/.hg" ]; do
r="$(dirname "$r")"
done
if [ -e "$r/.svn" ]; then
(
cd "$d" || exit $?
svn status -v | \
grep -vE '^[D?]|^Performing|^$' | \
cut -c3- | \
while read -r a b c f; do
if [ -f "$f" ] || [ -h "$f" ]; then
echo "$a $b $c" >/dev/null
echo "$f"
fi
done
)
elif [ -e "$r/.git" ]; then
if [ -e "$r/.git" ]; then
subdir="${d#"${r}"}"
if [ "$r" != "" ]; then
( cd "$d" && git ls-tree --name-only -r HEAD ) | sed "s|^$subdir/||"