Package megamek
Class Revision
java.lang.Object
megamek.Revision
This class contains static methods to obtain the current code revision hashCode of all three programs.
The code revision can be used to check out the precise point in the code when available from a log file.
In the IDE, revisions may not be fully available. E.g. when working in MML, the MM directories are not used.
-
Method Details
-
mmRevision
- Returns:
- The current MM code revision (e.g. "eba3a49e1006e51b16db12446caf5e43f57a18a7"), or "Unknown" if not available.
-
mmlRevision
- Returns:
- The current MML code revision (e.g. "eba3a49e1006e51b16db12446caf5e43f57a18a7"), or "Unknown" if not available.
-
mhqRevision
- Returns:
- The current MHQ code revision (e.g. "eba3a49e1006e51b16db12446caf5e43f57a18a7"), or "Unknown" if not available.
-