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