X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=contrib%2Freghunt%2Fbin%2Fgcc-svn-report;fp=contrib%2Freghunt%2Fbin%2Fgcc-svn-report;h=a0de534b3d56de9230352118b71fe30b3c545152;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=0000000000000000000000000000000000000000;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/contrib/reghunt/bin/gcc-svn-report b/contrib/reghunt/bin/gcc-svn-report new file mode 100755 index 00000000..a0de534b --- /dev/null +++ b/contrib/reghunt/bin/gcc-svn-report @@ -0,0 +1,26 @@ +#! /bin/sh + +# Report a more informative version of the patch identifier. + +ID=$1 + +test "x${REG_IDS}" != "x" || exit 1 +test "x${REG_CHANGESET_LIST}" != "x" || exit 1 + +BRANCH=`${REG_IDS} -f index -t branch ${ID}` +cd ${REG_SRCDIR}/gcc +unset LANG +unset LC_ALL +REV=`${REG_IDS} -f index -t rev ${ID}` + +# long set of information +TZ=UTC \ +svn log --revision $REV + +# URL of diffs +echo +echo ' http://gcc.gnu.org/viewcvs?view=rev&rev='$REV + +# short set of information, without final line of hyphens +TZ=UTC \ +svn log --quiet --revision $REV | sed -e '/---/d' -e 's/^/ /'