[arch-projects] [devtools] [PATCH] archrelease: Copy new files from trunk
Lukas Fleischer
archlinux at cryptocrack.de
Sat Aug 20 19:19:10 EDT 2011
Currently, files that have just been added to trunk are not copied to
the repositories when invoking archrelease, as `svn ls` does not list
them if we don't `svn update` explicitly before. Use `svn ls -r HEAD` to
include everything from current HEAD. Fixes FS#25680.
Reported-by: Eric Bélanger <snowmaniscool at gmail.com>
Signed-off-by: Lukas Fleischer <archlinux at cryptocrack.de>
---
Pierre, note that this one is based on my recent refactoring patches.
You should push them before pushing this one. Let me know if you don't
plan to do so and I'll rebase this one :)
Oh, and by the way: SVN sucks :)
archrelease | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/archrelease b/archrelease
index 287c5e7..2ca0b95 100755
--- a/archrelease
+++ b/archrelease
@@ -30,7 +30,7 @@ if [[ $(svn status -q) ]]; then
fi
pushd .. >/dev/null
-IFS=$'\n' read -r -d '' -a known_files < <(svn ls "trunk")
+IFS=$'\n' read -r -d '' -a known_files < <(svn ls -r HEAD "trunk")
for file in "${known_files[@]}"; do
if [[ ${file:(-1)} = '/' ]]; then
abort "archrelease: subdirectories are not supported in package directories!"
--
1.7.6
More information about the arch-projects
mailing list