• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] Version DB error? {Revision}

Status
Not open for further replies.

katos

Noble Member
Would anyone happen to know why my database is showing Revision as unknown, so now when I type .serv info it says that the revision is unknown etc? Here is a screenshot:

2jd47te.png
 

Hyperion

Founder
That would be a result from how your git is installed.

Taken from the revision generator on the cmake file:
Code:
# If everything above fails (means the user has erased the git revision control directory or removed the origin/HEAD tag)
  if(NOT rev_info)
    # No valid ways available to find/set the revision/hash, so let's force some defaults
    message(STATUS "
Could not find a proper repository signature (hash) - you may need to pull tags with git fetch -t
Continuing anyway - note that the versionstring will be set to \"unknown 1970-01-01 00:00:00 (Archived)\"")
    set(rev_date "1970-01-01 00:00:00 +0000")
    set(rev_hash "unknown")
    set(rev_branch "Archived")
  else()
    # Extract information required to build a proper versionstring
    string(REGEX REPLACE init-|[0-9]+-g "" rev_hash ${rev_info})
  endif()
 

katos

Noble Member
Oh I see! Odd, I could have sworn that my GIT was installed fine... o_O
Thanks for this Faded, you can mark this as solved, and I shall reinstall GIT and recompile :)
 

Hyperion

Founder
Oh I see! Odd, I could have sworn that my GIT was installed fine... o_O
Thanks for this Faded, you can mark this as solved, and I shall reinstall GIT and recompile :)

It still might not work. Either case, it's not that important to have :p
 

katos

Noble Member
Yeah it can be annoying. At least you know it all has to do with Git now :p


Many thanks to the both of you, this is very helpful. I am sure that I selected to run git from command prompt, maybe I was silly and skipped over it, I shall double check. Many thanks to the both of you for your support! :)
 
Status
Not open for further replies.
Top