Print this page
Add git support to which_scm utility

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/scripts/which_scm.1
          +++ new/usr/src/tools/scripts/which_scm.1
↓ open down ↓ 43 lines elided ↑ open up ↑
  44   44  checks only that directory, assuming that it is the top of the tree.
  45   45  
  46   46  If CODEMGR_WS is not set, then \fBwhich_scm\fR searches upwards to
  47   47  find the containing workspace path, and reports that path.
  48   48  
  49   49  .B which_scm
  50   50  can detect the following types of SCM systems (these are the keywords
  51   51  used in the output format):
  52   52  .nf
  53   53          cvs
       54 +        git
  54   55          mercurial
  55   56          rcs
  56   57          sccs
  57   58          subversion
  58   59          teamware
  59   60  .fi
  60   61  
  61   62  If the type of SCM in use is not known, then the string "unknown" is
  62   63  printed, and the path returned is $CODEMGR_WS (if set) or the current
  63   64  working directory.  The command may exit with an error if the SCM
↓ open down ↓ 1 lines elided ↑ open up ↑
  65   66  
  66   67  .SH ENVIRONMENT VARIABLES
  67   68  The following environment variable is used by \fBwhich_scm\fR:
  68   69  
  69   70  .PP
  70   71  \fBCODEMGR_WS\fR path to current workspace.
  71   72  
  72   73  .SH SEE ALSO
  73   74  .IR cvs(1) ,
  74   75  .IR hg(1) ,
       76 +.IR git(1) ,
  75   77  .IR sccs(1)
  76   78  .IR svn(1) ,
  77   79  .IR workspace(1)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX