[arch-projects] [devtools][PATCH] archrelease: sync the repos directory before commiting changes

Laurent Carlier lordheavym at gmail.com
Mon Jun 19 15:55:10 UTC 2017


---
 archrelease.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/archrelease.in b/archrelease.in
index 3b11652..4ef6cb1 100644
--- a/archrelease.in
+++ b/archrelease.in
@@ -57,6 +57,8 @@ done
 
 # gracefully handle files containing an "@" character
 known_files=("${known_files[@]/%/@}")
+# update repo directory first to avoid a commit failure
+svn up repos
 
 for tag in "$@"; do
 	stat_busy "Copying %s to %s" "${trunk}" "${tag}"
-- 
2.13.1


More information about the arch-projects mailing list