diff --git a/archrelease b/archrelease
index 287c5e761b8ad26bb66c2a2d17e98ec2e276318b..2ca0b95f1fe47130ce296ed38f8640b2bfef6adc 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!"