Lines Matching full:then
20 if test "$1" = "--save-scmversion"; then
24 if test $# -gt 0; then
28 if test $# -gt 0 -o ! -d "$srctree"; then
38 if test -e .scmversion; then
42 if test "$1" = "--short"; then
48 head=$(git rev-parse --verify HEAD 2>/dev/null); then
52 if [ -z "$(git describe --exact-match 2>/dev/null)" ]; then
56 if $short; then
69 # awk substr() then picks the 'g' and first 12
71 if atag="$(git describe --abbrev=12 2>/dev/null)"; then
83 if git config --get svn-remote.svn.url >/dev/null; then
96 } | grep -qvE '^(.. )?scripts/package'; then
105 if test -d .hg && hgid=$(hg id 2>/dev/null); then
107 if [ "$(hg log -r . --template '{latesttagdistance}')" = "1" ]; then
112 if [ -z "$tag" -o "$tag" = tip ]; then
129 if rev=$(LANG= LC_ALL= LC_MESSAGES=C svn info 2>/dev/null | grep '^Last Changed Rev'); then
148 if test -e "$file"; then
155 if $scm_only; then
156 if test ! -e .scmversion; then
163 if test -e include/config/auto.conf; then
172 if test ! "$srctree" -ef .; then
180 if test "$CONFIG_LOCALVERSION_AUTO" = "y"; then
188 if test "${LOCALVERSION+set}" != "set"; then