mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 20:56:24 +00:00
nightly build, scripts: Remove svn support
Remove deprecated svn support.
This commit is contained in:
@@ -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/||"
|
||||
|
||||
Reference in New Issue
Block a user