Home | History | Annotate | Line # | Download | only in bin
      1 #! /bin/sh
      2 
      3 # Report a more informative version of the patch identifier.
      4 
      5 ID=$1
      6 
      7 test "x${REG_IDS}" != "x" || exit 1
      8 test "x${REG_CHANGESET_LIST}" != "x" || exit 1
      9 
     10 BRANCH=`${REG_IDS} -f index -t branch ${ID}`
     11 cd ${REG_SRCDIR}/gcc
     12 unset LANG
     13 unset LC_ALL
     14 REV=`${REG_IDS} -f index -t rev ${ID}`
     15 
     16 # long set of information
     17 TZ=UTC \
     18 svn log --revision $REV
     19 
     20 # URL of diffs
     21 echo
     22 echo '    http://gcc.gnu.org/viewcvs?view=rev&rev='$REV
     23 
     24 # short set of information, without final line of hyphens
     25 TZ=UTC \
     26 svn log --quiet --revision $REV | sed -e '/---/d' -e 's/^/    /'
     27