Lines Matching refs:revision
6 lastBuiltRevisionFile=${haikuBuildOutputDir}/last-built-revision
18 revision=`cat ${revisionFile} 2>/dev/null`
29 if [ -z "$revision" -o "$lastBuiltRevision" != "$localRev" ]; then
32 revision=`git describe --dirty --tags --match=hrev* --abbrev=1`
33 if [ -z "$revision" ]; then
40 revision=`echo $revision | sed 's/-g[0-9a-z]\+//' | sed 's/-/+/g'`
41 if echo "$revision" | grep -- '-' >/dev/null; then
45 revision="$revision [$branchName]"
51 if [ -z "$revision" ]; then
52 revision=0
56 echo $revision >${revisionFile}