3 if [ -f ${1}/.version
]; then
6 PARTS
=`LANG=C svn info ${1} | ${GREP} URL | ${AWK} '{print $2;}' | sed -e 's:^.*/svn/asterisk/::' | sed -e 's:/: :g'`
11 REV
=`svnversion -c ${1} | cut -d: -f2`
13 BASE
=`LANG=C svn pg svnmerge-integrated ${1} | cut -d: -f1`
15 if [ "${PARTS}" = "trunk" ]
17 echo SVN-trunk-r
${REV}
35 RESULT
="${RESULT}-${PART}"
46 RESULT
="${RESULT}-${PART}"
51 if [ "${PART}" = "branches" ]
58 if [ "${PART}" = "tags" ]
64 if [ "${PART}" = "team" ]
75 echo SVN-
${RESULT}-r${REV}${BASE:+-${BASE}}