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

This commit is contained in:
Thibault Charbonnier 2019-09-25 19:12:39 -07:00 committed by Thibault Charbonnier
parent 21dfc48bb5
commit 9ce78f62c5
1 changed files with 1 additions and 1 deletions

View File

@ -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