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 --short HEAD 2>/dev/null`; then
52 if [ -z "`git describe --exact-match 2>/dev/null`" ]; then
56 if $short; then
62 if atag="`git describe 2>/dev/null`"; then
72 if git config --get svn-remote.svn.url >/dev/null; then
85 } | grep -qvE '^(.. )?scripts/package'; then
94 if test -d .hg && hgid=`hg id 2>/dev/null`; then
96 if [ "`hg log -r . --template '{latesttagdistance}'`" = "1" ]; then
101 if [ -z "$tag" -o "$tag" = tip ]; then
118 if rev=`LANG= LC_ALL= LC_MESSAGES=C svn info 2>/dev/null | grep '^Last Changed Rev'`; then
137 if test -e "$file"; then
144 if $scm_only; then
145 if test ! -e .scmversion; then
152 if test -e include/config/auto.conf; then
161 if test ! "$srctree" -ef .; then
169 if test "$CONFIG_LOCALVERSION_AUTO" = "y"; then
177 if test "${LOCALVERSION+set}" != "set"; then