mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 10:07:59 +02:00
svn version from svn works for text client
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@411 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
#include <arpa/inet.h>
|
||||
#include <bitset>
|
||||
#include <cstdlib>
|
||||
#include "svnInfo.h"
|
||||
#include "svnInfoLib.h"
|
||||
|
||||
|
||||
int slsDetector::initSharedMemory(detectorType type, int id) {
|
||||
@ -1588,8 +1588,9 @@ int64_t slsDetector::getId( idMode mode, int imod){
|
||||
#endif
|
||||
if (mode==THIS_SOFTWARE_VERSION) {
|
||||
ret=OK;
|
||||
svnInfo* s = new svnInfo(THIS_PATH);
|
||||
retval=(thisSoftwareVersion<<32) | (s->getRevision());
|
||||
// svnInfo* s = new svnInfo(THIS_PATH);
|
||||
retval=SVNREVLIB;
|
||||
retval=(retval<<32) | SVNDATELIB;
|
||||
} else {
|
||||
if (thisDetector->onlineFlag==ONLINE_FLAG) {
|
||||
if (controlSocket) {
|
||||
|
11
slsDetectorSoftware/slsDetector/svnInfoLib.h
Normal file
11
slsDetectorSoftware/slsDetector/svnInfoLib.h
Normal file
@ -0,0 +1,11 @@
|
||||
//#define SVNPATH ""
|
||||
#define SVNURLLIB "file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware"
|
||||
//#define SVNREPPATH ""
|
||||
#define SVNREPUUIDLIB "951219d9-93cf-4727-9268-0efd64621fa3"
|
||||
//#define SVNREV 0x410
|
||||
//#define SVNKIND ""
|
||||
//#define SVNSCHED ""
|
||||
#define SVNAUTHLIB "l_maliakal_d"
|
||||
#define SVNREVLIB 0x410
|
||||
#define SVNDATELIB 0x20121217
|
||||
//
|
11
slsDetectorSoftware/slsDetector/svnInfoLibTmp.h
Normal file
11
slsDetectorSoftware/slsDetector/svnInfoLibTmp.h
Normal file
@ -0,0 +1,11 @@
|
||||
//#define SVNPATH ""
|
||||
#define SVNURLLIB "/root/"
|
||||
//#define SVNREPPATH ""
|
||||
#define SVNREPUUIDLIB "00000-00000-00000"
|
||||
//#define SVNREV ""
|
||||
//#define SVNKIND ""
|
||||
//#define SVNSCHED ""
|
||||
#define SVNAUTHLIB "nobody"
|
||||
#define SVNREVLIB 0
|
||||
#define SVNDATELIB 20000101
|
||||
//
|
Reference in New Issue
Block a user