diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-08-21 01:19:10 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-08-25 11:16:26 +0200 |
commit | c24209028a6c531ff731a18ab5836ad71ef7b999 (patch) | |
tree | 0d2d802b351ec18a1e7724523d695a50bd25c731 | |
parent | 61010062ff63e23948e9a0417f082d3660e645bf (diff) | |
download | devtools-c24209028a6c531ff731a18ab5836ad71ef7b999.tar.xz |
archrelease: Copy new files from trunk
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@gmail.com>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-rwxr-xr-x | 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!" |