diff -r 3fb775db4829 -r 1bfa1cdffb02 sources/version.cpp --- a/sources/version.cpp Fri Feb 05 11:36:38 2021 +0200 +++ b/sources/version.cpp Mon Apr 10 10:42:45 2023 +0300 @@ -79,10 +79,11 @@ if (buffer[0] == '\0') { - if (strcmp (HG_BRANCH, "default") != 0) - sprintf (buffer, "%s-%s (%s)", version_string(), HG_NODE, HG_BRANCH); - else - sprintf (buffer, "%s-%s", version_string(), HG_NODE); +#ifdef HG_BRANCH + sprintf (buffer, "%s-%s (%s)", version_string(), HG_NODE, HG_BRANCH); +#else + sprintf (buffer, "%s-%s", version_string(), HG_NODE); +#endif } return buffer;