3 if [ -f ${1}/.version
]; then
6 PARTS
=`LANG=C svn info ${1} | ${GREP} URL | ${AWK} '{print $2;}' | sed -e 's:^.*/svn/libpri/::' | 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" ] ; then
16 echo SVN-trunk-r
${REV}
20 for PART
in $PARTS ; do
21 if [ ${TAG} != 0 ] ; then
22 if [ "${PART}" = "autotag_for_be" ] ; then
25 if [ "${PART}" = "autotag_for_sx00i" ] ; then
32 if [ ${BRANCH} != 0 ] ; then
33 if [ -z ${RESULT} ] ; then
36 RESULT
="${RESULT}-${PART}"
41 if [ ${TEAM} != 0 ] ; then
42 if [ -z ${RESULT} ] ; then
45 RESULT
="${RESULT}-${PART}"
50 if [ "${PART}" = "branches" ] ; then
56 if [ "${PART}" = "tags" ] ; then
61 if [ "${PART}" = "team" ] ; then
67 if [ ${TAG} != 0 ] ; then
70 echo SVN-
${RESULT}-r${REV}${BASE:+-${BASE}}