|
@@ -5,6 +5,7 @@ IF ERRORLEVEL 9009 goto NoHg |
|
|
IF ERRORLEVEL 2 goto err
|
|
|
IF ERRORLEVEL 2 goto err
|
|
|
IF ERRORLEVEL 1 goto noupdates
|
|
|
IF ERRORLEVEL 1 goto noupdates
|
|
|
IF ERRORLEVEL 0 goto ok
|
|
|
IF ERRORLEVEL 0 goto ok
|
|
|
|
|
|
IF ERRORLEVEL -1 goto CloneRepo
|
|
|
|
|
|
|
|
|
goto err
|
|
|
goto err
|
|
|
|
|
|
|
|
@@ -13,7 +14,20 @@ goto err |
|
|
hg pull "https://bitbucket.org/vdemidov/sas.maps/" -u -f
|
|
|
hg pull "https://bitbucket.org/vdemidov/sas.maps/" -u -f
|
|
|
IF ERRORLEVEL 1 goto err
|
|
|
IF ERRORLEVEL 1 goto err
|
|
|
IF NOT ERRORLEVEL 0 goto err
|
|
|
IF NOT ERRORLEVEL 0 goto err
|
|
|
rem call BuildZMmp.cmd
|
|
|
|
|
|
|
|
|
goto end
|
|
|
|
|
|
:CloneRepo
|
|
|
|
|
|
rd /s /q sas.maps
|
|
|
|
|
|
echo „¥« ¥¬ ª«® ९®§¨â®à¨ï á á¥à¢¥à
|
|
|
|
|
|
hg clone -U "https://bitbucket.org/vdemidov/sas.maps/" sas.maps
|
|
|
|
|
|
IF NOT ERRORLEVEL 0 goto err
|
|
|
|
|
|
echo Š®¯¨à㥬 ¯ ¯ªã á ९®§¨â®à¨¥¬ ¨§ ¯®¤¯ ¯ª¨ ¢ ⥪ãéãî ¯ ¯ªã
|
|
|
|
|
|
move /Y sas.maps\.hg .\.hg
|
|
|
|
|
|
IF NOT ERRORLEVEL 0 goto errMoveHg
|
|
|
|
|
|
echo “¤ «ï¥¬ ¢à¥¬¥® ᮧ¤ ãî ¯®¤¯ ¯ªã
|
|
|
|
|
|
rd /s /q sas.maps
|
|
|
|
|
|
IF NOT ERRORLEVEL 0 goto errRemoveTemp
|
|
|
|
|
|
echo Ž¡®¢«ï¥¬ ä ©«ë ¤® ¯®á«¥¤¥© ¢¥àᨨ
|
|
|
|
|
|
hg update -c
|
|
|
goto end
|
|
|
goto end
|
|
|
:noupdates
|
|
|
:noupdates
|
|
|
echo �¥â ®¢ëå ¨§¬¥¥¨©
|
|
|
echo �¥â ®¢ëå ¨§¬¥¥¨©
|
|
@@ -21,6 +35,12 @@ rem call BuildZMmp.cmd |
|
|
:err
|
|
|
:err
|
|
|
echo Žè¨¡ª á¢ï§¨ á á¥à¢¥à®¬
|
|
|
echo Žè¨¡ª á¢ï§¨ á á¥à¢¥à®¬
|
|
|
goto end
|
|
|
goto end
|
|
|
|
|
|
:errMoveHg
|
|
|
|
|
|
echo Žè¨¡ª ¯¥à¥¬¥é¥¨ï ¯ ¯ª¨ .hg
|
|
|
|
|
|
goto end
|
|
|
|
|
|
:errRemoveTemp
|
|
|
|
|
|
echo Žè¨¡ª 㤠«¥¨ï ¢à¥¬¥®© ¯ ¯ª¨ sas.maps
|
|
|
|
|
|
goto end
|
|
|
:NoHg
|
|
|
:NoHg
|
|
|
echo �¥ ãáâ ®¢«¥ Mercurial
|
|
|
echo �¥ ãáâ ®¢«¥ Mercurial
|
|
|
goto end
|
|
|
goto end
|
|
|