optimize: mirror-tarballs: used 'hg update --clean' to avoid being prompted when repository is cloned.
This commit is contained in:
parent
21dfc48bb5
commit
9ce78f62c5
util
|
@ -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…
Reference in New Issue