From f4f9d21163996d14391f5c3579e74771cd5361a7 Mon Sep 17 00:00:00 2001 From: sasbot <> Date: Sat, 6 Jun 2020 12:00:00 +0000 Subject: [PATCH] update zmp --- Update.cmd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Update.cmd b/Update.cmd index 1712befdf..3e593ac63 100644 --- a/Update.cmd +++ b/Update.cmd @@ -2,6 +2,7 @@ hg incoming "https://bitbucket.org/sas_team/sas.maps/" ::echo %ERRORLEVEL% IF ERRORLEVEL 9009 goto NoHg +IF ERRORLEVEL 255 goto CloneRepo IF ERRORLEVEL 2 goto err IF ERRORLEVEL 1 goto noupdates IF ERRORLEVEL 0 goto ok @@ -19,7 +20,7 @@ goto err :CloneRepo rd /s /q sas.maps echo Делаем клон репозитория с сервера - hg clone -U "https://bitbucket.org/sas_team/sas.maps/" sas.maps + hg clone "https://bitbucket.org/sas_team/sas.maps/" sas.maps IF NOT ERRORLEVEL 0 goto err echo Копируем папку с репозиторием из подпапки в текущую папку move /Y sas.maps\.hg .\.hg