mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
Implement git support in gensvnrevision tool and related changes in code.
gvnrevision still support svn version generation and have addition options now (see sources). gensvnrevision/svn_revision.h and other svn reference will fixed later. Now version strings include commit date/time that can be used in git case for fast find git commit without using git hash most time. In chat ".server info" output git hash can be copied by shift-click in chat and then copied to cliboard if need.
This commit is contained in:
parent
a0ab11bb17
commit
0874856e34
6 changed files with 248 additions and 52 deletions
|
|
@ -29,6 +29,7 @@
|
|||
#include "sockets/ListenSocket.h"
|
||||
#include "AuthSocket.h"
|
||||
#include "SystemConfig.h"
|
||||
#include "svn_revision.h"
|
||||
#include "Util.h"
|
||||
|
||||
#ifdef WIN32
|
||||
|
|
@ -149,7 +150,7 @@ extern int main(int argc, char **argv)
|
|||
while (pause > clock()) {}
|
||||
}
|
||||
|
||||
sLog.outString( "%s (realm-daemon)", _FULLVERSION );
|
||||
sLog.outString( "%s [realm-daemon]", _FULLVERSION(SVN_DATE,SVN_TIME,SVN_REVISION) );
|
||||
sLog.outString( "<Ctrl-C> to stop.\n" );
|
||||
|
||||
/// realmd PID file creation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue