From 0b80c2b9f85182ddfecb5c02196a85e6a55369f1 Mon Sep 17 00:00:00 2001 From: dismine Date: Sun, 4 Jan 2015 18:11:00 +0200 Subject: [PATCH] =?UTF-8?q?We=20alwayse=20need=20information=20about=20?= =?UTF-8?q?=E2=80=9Cthe=20current=20parent=20of=20the=20working=20director?= =?UTF-8?q?y=E2=80=9D.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --HG-- branch : develop --- src/app/app.pro | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/app.pro b/src/app/app.pro index 2f2885803..981de58c5 100644 --- a/src/app/app.pro +++ b/src/app/app.pro @@ -109,7 +109,7 @@ CONFIG(debug, debug|release){ #Calculate latest tag distance and build revision only in release mode. Change number each time requare #recompilation precompiled headers file. DEFINES += "LATEST_TAG_DISTANCE=0" - DEFINES += "BUILD_REVISION=\\\"uknown\\\"" + DEFINES += "BUILD_REVISION=\\\"unknown\\\"" }else{ # Release mode DEFINES += V_NO_ASSERT @@ -126,7 +126,7 @@ CONFIG(debug, debug|release){ } #latest tag distance number for using in version - HG_DISTANCE=$$system(hg log -r tip --template '{latesttagdistance}') + HG_DISTANCE=$$system(hg log -r. --template '{latesttagdistance}') isEmpty(HG_DISTANCE){ HG_DISTANCE = 0 # if we can't find local revision left 0. } @@ -135,10 +135,10 @@ CONFIG(debug, debug|release){ #build revision number for using in version unix { - HG_HESH=$$system("hg log -r tip --template '{node|short}'") + HG_HESH=$$system("hg log -r. --template '{node|short}'") } else { # Use escape character before "|" on Windows - HG_HESH=$$system(hg log -r tip --template "{node^|short}") + HG_HESH=$$system(hg log -r. --template "{node^|short}") } isEmpty(HG_HESH){ HG_HESH = "unknown" # if we can't find build revision left unknown.