Browse Source

update zmp

pull/1/head
sasbot 4 years ago
parent
commit
0dda73a622
1 changed files with 28 additions and 0 deletions
  1. +28
    -0
      Update.cmd

+ 28
- 0
Update.cmd View File

@@ -0,0 +1,28 @@
@echo off
hg incoming "https://bitbucket.org/vdemidov/sas.maps/"
::echo %ERRORLEVEL%
IF ERRORLEVEL 9009 goto NoHg
IF ERRORLEVEL 2 goto err
IF ERRORLEVEL 1 goto noupdates
IF ERRORLEVEL 0 goto ok
goto err
:ok
echo ‡ ¡¨à ¥¬ ¨§¬¥­¥­¨ï ¨§ ९®§¨â®à¨ï
hg pull "https://bitbucket.org/vdemidov/sas.maps/" -u -f
IF ERRORLEVEL 1 goto err
IF NOT ERRORLEVEL 0 goto err
rem call BuildZMmp.cmd
goto end
:noupdates
echo �¥â ­®¢ëå ¨§¬¥­¥­¨©
goto end
:err
echo Žè¨¡ª  á¢ï§¨ á á¥à¢¥à®¬
goto end
:NoHg
echo �¥ ãáâ ­®¢«¥­ Mercurial
goto end
:end
pause

Loading…
Cancel
Save