usr/src/tools/scripts/webrev.sh
changeset 7298 b69e27387f74
parent 7078 935563142864
child 7310 47b366e07022
equal deleted inserted replaced
7297:e4b614b9dc04 7298:b69e27387f74
    17 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # fields enclosed by brackets "[]" replaced with your own identifying
    18 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 # information: Portions Copyright [yyyy] [name of copyright owner]
    19 #
    19 #
    20 # CDDL HEADER END
    20 # CDDL HEADER END
    21 #
    21 #
    22 # ident	"%Z%%M%	%I%	%E% SMI"
    22 
    23 #
    23 #
    24 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
    24 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
    25 # Use is subject to license terms.
    25 # Use is subject to license terms.
    26 #
    26 #
    27 
    27 
    32 # type 'webrev -h'.
    32 # type 'webrev -h'.
    33 #
    33 #
    34 # Acknowledgements to contributors to webrev are listed in the webrev(1)
    34 # Acknowledgements to contributors to webrev are listed in the webrev(1)
    35 # man page.
    35 # man page.
    36 #
    36 #
    37 
       
    38 #
       
    39 # The following variable is set to SCCS delta date 20YY/MM/DD.
       
    40 # Note this will have to be changed in 2100 or when SCCS has support for
       
    41 # 4 digit years; whichever is the sooner!
       
    42 #
       
    43 WEBREV_UPDATED=20%E%
       
    44 
    37 
    45 REMOVED_COLOR=brown
    38 REMOVED_COLOR=brown
    46 CHANGED_COLOR=blue
    39 CHANGED_COLOR=blue
    47 NEW_COLOR=blue
    40 NEW_COLOR=blue
    48 
    41 
  1394 {
  1387 {
  1395 	typeset child=$1
  1388 	typeset child=$1
  1396 	typeset parent=$2
  1389 	typeset parent=$2
  1397 
  1390 
  1398 	TMPFLIST=/tmp/$$.active
  1391 	TMPFLIST=/tmp/$$.active
  1399 	$HG_ACTIVE -w $child -p $parent > $TMPFLIST
  1392 	$HG_ACTIVE -w $child -p $parent -o $TMPFLIST
  1400 	wxfile=$TMPFLIST
  1393 	wxfile=$TMPFLIST
  1401 }
  1394 }
  1402 
  1395 
  1403 #
  1396 #
  1404 # flist_from_mercurial
  1397 # flist_from_mercurial
  2822 
  2815 
  2823 print
  2816 print
  2824 print
  2817 print
  2825 print "<hr></hr>"
  2818 print "<hr></hr>"
  2826 print "<p style=\"font-size: small\">"
  2819 print "<p style=\"font-size: small\">"
  2827 print "This code review page was prepared using <b>$0</b>"
  2820 print "This code review page was prepared using <b>$0</b>."
  2828 print "(vers $WEBREV_UPDATED)."
       
  2829 print "Webrev is maintained by the <a href=\"http://www.opensolaris.org\">"
  2821 print "Webrev is maintained by the <a href=\"http://www.opensolaris.org\">"
  2830 print "OpenSolaris</a> project.  The latest version may be obtained"
  2822 print "OpenSolaris</a> project.  The latest version may be obtained"
  2831 print "<a href=\"http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/tools/scripts/webrev.sh\">here</a>.</p>"
  2823 print "<a href=\"http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/tools/scripts/webrev.sh\">here</a>.</p>"
  2832 print "</body>"
  2824 print "</body>"
  2833 print "</html>"
  2825 print "</html>"