mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[6800] Added revision number output.
* Changed genrevision to use * instead of unknown when some info can not be found * Added the git_id tool which is used to generate changes to revision_nr.h and the commit message
This commit is contained in:
parent
b681f5ac1a
commit
cfd9ccdaaf
12 changed files with 460 additions and 14 deletions
|
|
@ -33,6 +33,7 @@
|
|||
#include "Policies/SingletonImp.h"
|
||||
#include "SystemConfig.h"
|
||||
#include "revision.h"
|
||||
#include "revision_nr.h"
|
||||
#include "Config/ConfigEnv.h"
|
||||
#include "Database/DatabaseEnv.h"
|
||||
#include "CliRunnable.h"
|
||||
|
|
@ -196,7 +197,7 @@ Master::~Master()
|
|||
/// Main function
|
||||
int Master::Run()
|
||||
{
|
||||
sLog.outString( "%s [world-daemon]", _FULLVERSION(REVISION_DATE,REVISION_TIME,REVISION_ID) );
|
||||
sLog.outString( "%s [world-daemon]", _FULLVERSION(REVISION_DATE,REVISION_TIME,REVISION_NR,REVISION_ID) );
|
||||
sLog.outString( "<Ctrl-C> to stop.\n\n" );
|
||||
|
||||
sLog.outTitle( "MM MM MM MM MMMMM MMMM MMMMM");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue