UpdatePlus.cmd 649 B

54 years ago
54 years ago
54 years ago
54 years ago
54 years ago
54 years ago
54 years ago
54 years ago
12345678910111213141516171819202122232425262728
  1. @echo off
  2. hg incoming "https://bitbucket.org/garl/plus.maps/"
  3. ::echo %ERRORLEVEL%
  4. IF ERRORLEVEL 9009 goto NoHg
  5. IF ERRORLEVEL 2 goto err
  6. IF ERRORLEVEL 1 goto noupdates
  7. IF ERRORLEVEL 0 goto ok
  8. goto err
  9. :ok
  10. echo ����ࠥ� ��������� �� ९������
  11. hg pull "https://bitbucket.org/garl/plus.maps/" -u -f
  12. IF ERRORLEVEL 1 goto err
  13. IF NOT ERRORLEVEL 0 goto err
  14. rem call BuildZMmp.cmd
  15. goto end
  16. :noupdates
  17. echo ��� ����� ���������
  18. goto end
  19. :err
  20. echo �訡�� �裡 � �ࢥ஬
  21. goto end
  22. :NoHg
  23. echo �� ��⠭����� Mercurial
  24. goto end
  25. :end
  26. pause