Lines Matching refs:wsname
104 unset setenv osbld_flag os_rev wsosdir protofile wsname ofs proto \
156 wsname=`echo $tmpwsname|fmtwsname`
162 if [[ -n ${CODEMGR_WSPATH} && ( ! -d $wsname ) && \
163 ( `expr "$wsname" : "\/"` = "0" ) ]]
169 if [[ -d ${i}/${wsname} ]]; then
170 wsname=${i}/${wsname}
181 if [[ `expr "$wsname" : "\/"` = "0" ]]
184 wsname="$pwd/$wsname"
190 if [[ ! -d $wsname ]]; then
191 echo "$wsname . . . no such directory" >&2
202 # Check which type of SCM is in use by $wsname.
204 (cd $wsname && env CODEMGR_WS="" $WHICH_SCM) | read SCM_MODE tmpwsname
206 echo "Error: Unable to detect a supported SCM repository in $wsname"
215 wsname=$tmpwsname
216 CODEMGR_WS=$wsname ; export CODEMGR_WS
217 SRC=$wsname/usr/src; export SRC
218 TSRC=$wsname/usr/ontest; export TSRC
220 if [[ "$SCM_MODE" = "teamware" && -d ${wsname}/Codemgr_wsdata ]]; then
224 elif [[ "$SCM_MODE" = "mercurial" && -d ${wsname}/.hg ]]; then
228 elif [[ "$SCM_MODE" = "git" && -d ${wsname}/.git ]]; then
233 echo "$wsname is not a supported workspace; type is $SCM_MODE" >&2
402 echo "Workspace : $wsname"
415 echo "Current directory (\$PWD) : $wsname"
418 cd $wsname