aboutsummaryrefslogtreecommitdiff
path: root/tools/mhmake/src/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mhmake/src/util.cpp')
-rw-r--r--tools/mhmake/src/util.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/mhmake/src/util.cpp b/tools/mhmake/src/util.cpp
index e1fcf0d27..ae8610a1b 100644
--- a/tools/mhmake/src/util.cpp
+++ b/tools/mhmake/src/util.cpp
@@ -338,6 +338,9 @@ refptr<loadedmakefile> LOADEDMAKEFILES::find(const loadedmakefile &ToSearch)
///////////////////////////////////////////////////////////////////////////////
bool loadedmakefile::loadedmakefile_statics::GetSvnRevision(void)
{
+ if (getenv("nosvn"))
+ return true;
+
// Get the revision of the working copy
// We do it with the svn info command (do it without path arguments, only current directory, to avoid problems with path names and junctions/links