gcc/contrib/reghunt/bin/gcc-svn-report
Janis Johnson e88396c072 bin: New directory.
* bin: New directory.
	* bin/reg-hunt: New.
	* bin/reg_periodic: New.
	* bin/gcc-svn-update: New.
	* bin/gcc-svn-update-fix: New.
	* bin/gcc-build-simple: New.
	* bin/gcc-build-full: New.
	* bin/gcc-cleanup: New.
	* bin/reg-test: New.
	* bin/reg-newmid: New.
	* bin/gcc-test-ice-on-valid-code: New.
	* bin/gcc-test-ice-on-invalid-code: New.
	* bin/gcc-test-compiler-hangs: New.
	* bin/gcc-test-missing-warning: New.
	* bin/gcc-test-bogus-warning: New.
	* bin/gcc-test-segfault-on-valid-code: New.
	* bin/gcc-test-rejects-valid: New.
	* bin/gcc-test-accepts-invalid: New.
	* bin/gcc-test-wrong-code: New.
	* bin/gcc-svn-patchlist: New.
	* bin/gcc-svn-checkfail: New.
	* bin/gcc-svn-recordfail: New.
	* bin/gcc-svn-report: New.
	* bin/gcc-svn-ids: New.

From-SVN: r144240
2009-02-17 18:35:24 +00:00

27 lines
564 B
Bash
Executable File

#! /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/^/ /'