comparison contrib/reghunt/bin/gcc-svn-report @ 0:a06113de4d67

first commit
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Fri, 17 Jul 2009 14:47:48 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:a06113de4d67
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/^/ /'