(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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user