optimize: mirror-tarballs: used 'hg update --clean' to avoid being prompted when repository is cloned.

pull/535/head
Thibault Charbonnier 6 years ago
parent 1af886fcae
commit 20fba9ced4

@ -975,7 +975,7 @@ cd $root/work/ || exit 1
if [ -d nginx.org ]; then
cd nginx.org/ || exit 1
hg pull || exit 1
hg update || exit 1
hg update --clean || exit 1
cd ..
else
hg clone http://hg.nginx.org/nginx.org || exit 1

Loading…
Cancel
Save