This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Do not use -F to tag sources in release script


This patch avoids using "-F" with "cvs tag".  Doing so can have the
effect of accidentally moving an existing tag.

--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com

2004-04-19  Mark Mitchell  <mark@codesourcery.com>

	* gcc_release (build_sources): Do not use "-F" to tag sources.

Index: gcc_release
===================================================================
RCS file: /cvs/gcc/gcc/maintainer-scripts/gcc_release,v
retrieving revision 1.51
diff -c -5 -p -r1.51 gcc_release
*** gcc_release	7 Apr 2004 17:50:31 -0000	1.51
--- gcc_release	19 Apr 2004 21:48:23 -0000
*************** EOF
*** 158,168 ****
  
    # Tag the sources.
    EXPORTDATE=""
    if [ -n "${TAG}" ]; then
      inform "Tagging sources as ${TAG}"
!     ${CVS} rtag -r ${CVSBRANCH} -F ${TAG} gcc || \
        error "Could not tag sources"
      EXPORTTAG="-r${TAG}"
    else
      if [ ${CVSBRANCH} != "HEAD" ]; then
        EXPORTTAG="-r${CVSBRANCH}"
--- 158,171 ----
  
    # Tag the sources.
    EXPORTDATE=""
    if [ -n "${TAG}" ]; then
      inform "Tagging sources as ${TAG}"
!     # The -F option to CVS is intentionally not used below.  If you
!     # need to retry a release, you will have to manually remove any
!     # existing tag.
!     ${CVS} rtag -r ${CVSBRANCH} ${TAG} gcc || \
        error "Could not tag sources"
      EXPORTTAG="-r${TAG}"
    else
      if [ ${CVSBRANCH} != "HEAD" ]; then
        EXPORTTAG="-r${CVSBRANCH}"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]