James Carlson wrote: > I've updated my fix for bug #440: > > 440 Need exactly one implementation of scm sniffing. > > The webrev is here: > > http://cr.opensolaris.org/~carlsonj/webrev-440/
usr/src/tools/scripts/which_scm.sh 53 # Check for well-known tree-type source code systems. "source code systems" -> "source control management systems" 54 function primary_type 55 { 56 typeset scmid 57 58 [ -d "$1/Codemgr_wsdata" ] && scmid="$scmid teamware" 59 [ -d "$1/.hg" ] && scmid="$scmid mercurial" 60 [ -d "$1/CVS" ] && scmid="$scmid cvs" 61 [ -d "$1/.svn" ] && scmid="$scmid subversion" 62 echo $scmid 63 } You may want to change the discovery order to: cvs subversion mercurial teamware So teamware and mercurial are given higher priority in cases where someone has left over scm config directories. -Jim