Browse Source

update zmp

master
sasgis 54 years ago
parent
commit
8cc0f1c739
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      Update.cmd

+ 3
- 3
Update.cmd View File

@@ -1,5 +1,5 @@
@echo off @echo off
hg incoming "https://bitbucket.org/vdemidov/sas.maps/"
hg incoming "https://bitbucket.org/sas_team/sas.maps/"
::echo %ERRORLEVEL% ::echo %ERRORLEVEL%
IF ERRORLEVEL 9009 goto NoHg IF ERRORLEVEL 9009 goto NoHg
IF ERRORLEVEL 2 goto err IF ERRORLEVEL 2 goto err
@@ -11,7 +11,7 @@ goto err
:ok :ok
echo ‡ ¡¨à ¥¬ ¨§¬¥­¥­¨ï ¨§ ९®§¨â®à¨ï echo ‡ ¡¨à ¥¬ ¨§¬¥­¥­¨ï ¨§ ९®§¨â®à¨ï
hg pull "https://bitbucket.org/vdemidov/sas.maps/" -u -f
hg pull "https://bitbucket.org/sas_team/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
for /R /D %%d in (*.zmp) do rd /q %%d 2> nul for /R /D %%d in (*.zmp) do rd /q %%d 2> nul
@@ -19,7 +19,7 @@ goto err
:CloneRepo :CloneRepo
rd /s /q sas.maps rd /s /q sas.maps
echo „¥« ¥¬ ª«®­ ९®§¨â®à¨ï á á¥à¢¥à  echo „¥« ¥¬ ª«®­ ९®§¨â®à¨ï á á¥à¢¥à 
hg clone -U "https://bitbucket.org/vdemidov/sas.maps/" sas.maps
hg clone -U "https://bitbucket.org/sas_team/sas.maps/" sas.maps
IF NOT ERRORLEVEL 0 goto err IF NOT ERRORLEVEL 0 goto err
echo Š®¯¨à㥬 ¯ ¯ªã á ९®§¨â®à¨¥¬ ¨§ ¯®¤¯ ¯ª¨ ¢ ⥪ãéãî ¯ ¯ªã echo Š®¯¨à㥬 ¯ ¯ªã á ९®§¨â®à¨¥¬ ¨§ ¯®¤¯ ¯ª¨ ¢ ⥪ãéãî ¯ ¯ªã
move /Y sas.maps\.hg .\.hg move /Y sas.maps\.hg .\.hg


Loading…
Cancel
Save