28 linhas
649 B

  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