summaryrefslogtreecommitdiff
path: root/config.lib
diff options
context:
space:
mode:
Diffstat (limited to 'config.lib')
-rw-r--r--config.lib3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.lib b/config.lib
index dff8be929..ab3d19a85 100644
--- a/config.lib
+++ b/config.lib
@@ -702,6 +702,9 @@ check_params() {
elif [ -d "$ROOT_DIR/.git" ] && [ -n "`git help`" ]; then
revision=""
log 1 "checking revision... git detection"
+ elif [ -d "$ROOT_DIR/.hg" ] && [ -n "`hg help`" ]; then
+ revision=""
+ log 1 "checking revision... hg detection"
else
revision=""
log 1 "checking revision... no detection"