From 74c72e9608fe40e26170e6a5bfe22a4b6e6e9970 Mon Sep 17 00:00:00 2001 From: mostafa Date: Sun, 8 Mar 2026 19:56:19 +0330 Subject: [PATCH] fix: correct svn status parsing for paths with extra status flags The sed regex `s/! *//` stops stripping at non-space characters in columns 2-7 of svn status output (e.g. lock flag 'L'), leaving invalid path prefixes like "L trunk/views/...". Replace with `cut -c9-` which correctly strips the fixed 8-character status prefix (7 status columns + 1 space) regardless of flag values. Fixes #134 --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 70aac3b..7968c1e 100755 --- a/deploy.sh +++ b/deploy.sh @@ -201,7 +201,7 @@ svn add . --force > /dev/null # SVN delete all deleted files # Also suppress stdout here -svn status | grep '^\!' | sed 's/! *//' | xargs -I% svn rm %@ > /dev/null +svn status | grep '^\!' | cut -c9- | xargs -I% svn rm %@ > /dev/null # Copy tag locally to make this a single commit echo "➤ Copying tag..."