summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/command.cc
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-10-18 07:58:32 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-18 07:59:54 -0700
commit2f656a0430f31656ebf81b6ee0690bc6ad04268f (patch)
tree3559bd9779bbbdb9dad67d315e1ade4c5008e805 /crawl-ref/source/command.cc
parent4a5e72289713324ce6ff6000276bd81681b18666 (diff)
downloadcrawl-ref-2f656a0430f31656ebf81b6ee0690bc6ad04268f.tar.gz
crawl-ref-2f656a0430f31656ebf81b6ee0690bc6ad04268f.zip
versioning: remove SVN-specific revision data, add Git versioning
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/command.cc')
-rw-r--r--crawl-ref/source/command.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc
index 5f6098e577..674b1868da 100644
--- a/crawl-ref/source/command.cc
+++ b/crawl-ref/source/command.cc
@@ -5,7 +5,6 @@
*/
#include "AppHdr.h"
-REVISION("$Rev$");
#include "command.h"
@@ -94,11 +93,7 @@ static const char *features[] = {
static std::string _get_version_information(void)
{
- std::string result = "This is <w>" CRAWL " " VERSION "</w> (";
-#ifdef DISPLAY_BUILD_REVISION
- result += "r" + number_to_string(svn_revision()) + ", ";
-#endif
- result += VERSION_DETAIL ").";
+ std::string result = "This is <w>" CRAWL " " + Version::Long() + "</w>";
result += "\n";