(svn r11148) -Codechange: add support for getting version numbers from Mercurial/HG instead of norev000 (when using a Mercurial/HG clone that is).

This commit is contained in:
rubidium
2007-09-23 10:26:20 +00:00
parent db769e490c
commit 45357015a5
2 changed files with 11 additions and 2 deletions

View File

@@ -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"