summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/command.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/command.cc')
-rw-r--r--crawl-ref/source/command.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc
index 6d7e20a894..3b9755018f 100644
--- a/crawl-ref/source/command.cc
+++ b/crawl-ref/source/command.cc
@@ -99,7 +99,12 @@ static const char *features[] = {
static std::string _get_version_information(void)
{
std::string result = "This is <w>";
- result += CRAWL " " VERSION "</w> (" VERSION_DETAIL ").";
+ result += CRAWL " " VERSION "</w> (";
+#ifdef BUILD_REVISION
+ result += "r" + number_to_string(svn_revision()) + ", ";
+#endif
+ result += VERSION_DETAIL ").";
+
result += "\n\n";
return (result);