source: xtideuniversalbios/trunk/Tools/StartCommitHook.cmd@ 629

Last change on this file since 629 was 624, checked in by Krister Nordvall, 2 years ago

Changes:

  • The BIOS version string has been changed to show the repository revision number instead of the useless "v2.0.0 beta 3+" string. In other words, the seemingly never ending beta is finally over! The version string is now updated by TortoiseSVN client side hook scripts (residing in \Tools) to be used when committing changes to the repository. It should also be possible to use these scripts with other subversion clients under Windows since they are essentially just regular batch (cmd) files!
  • The eSEG_STR macro has been changed to always disable interrupts. The workaround used for the buggy, early revisions of the 8088/8086 CPUs apparently does not work. Many thanks to Jim Leonard (Trixter) for reporting this problem!
  • Minor optimizations to the eBSF and eBSR macros.
File size: 521 bytes
Line 
1@echo off
2if exist XTIDE_Universal_BIOS\Inc\Revision.inc goto NoError1
3echo Couldn't find Revision.inc! Make sure to commit from the working copy root!>con
4pause<con>con
5exit 1
6:NoError1
7if not exist CommitInProgress goto NoError2
8echo Revision.inc has already been updated but not yet successfully committed!>con
9pause<con>con
10exit 0
11:NoError2
12set /p XUB_REV=<XTIDE_Universal_BIOS\Inc\Revision.inc
13set /a XUB_REV+=1
14echo|set /p=%XUB_REV%>XTIDE_Universal_BIOS\Inc\Revision.inc
15echo.>CommitInProgress
16exit 0
Note: See TracBrowser for help on using the repository browser.