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

pull/558/head
Thibault Charbonnier 5 years ago committed by Thibault Charbonnier
parent 21dfc48bb5
commit 9ce78f62c5

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

Loading…
Cancel
Save