From 2af83212a6784c67a34f50c0e5345dec49aa0318 Mon Sep 17 00:00:00 2001 From: "Srivats P." Date: Wed, 7 Apr 2010 21:13:54 +0530 Subject: [PATCH] Due to the switch to mercurial from svn, changed 'svnversion' to 'hg identify -i' --- version.pri | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/version.pri b/version.pri index df1335c4..f19cb31c 100644 --- a/version.pri +++ b/version.pri @@ -2,11 +2,11 @@ APP_VERSION = 0.1 APP_VERSION_FILE = version.cpp revtarget.target = $$APP_VERSION_FILE win32:revtarget.commands = echo "const char *version = \"$$APP_VERSION\";" \ - "const char *revision = \"$(shell svnversion .)\";" \ + "const char *revision = \"$(shell hg identify -i)\";" \ > $$APP_VERSION_FILE unix:revtarget.commands = echo \ "\"const char *version = \\\"$$APP_VERSION\\\";" \ - "const char *revision = \\\"$(shell svnversion .)\\\";\"" \ + "const char *revision = \\\"$(shell hg identify -i)\\\";\"" \ > $$APP_VERSION_FILE revtarget.depends = $$SOURCES $$HEADERS $$FORMS $$POST_TARGETDEPS