From 3ebe82fac1ac3ce2830c0d06dc4c287665068e09 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 6 Mar 2009 19:19:48 +0000 Subject: move svnchangelog.sed to libexec, now that we have it git-svn-id: svn://tug.org/texlive/trunk@12324 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/svnchangelog | 2 +- Master/tlpkg/bin/svnchangelog.sed | 43 --------------------------------------- 2 files changed, 1 insertion(+), 44 deletions(-) delete mode 100755 Master/tlpkg/bin/svnchangelog.sed diff --git a/Master/tlpkg/bin/svnchangelog b/Master/tlpkg/bin/svnchangelog index d7660b7e120..66d4e3584b3 100755 --- a/Master/tlpkg/bin/svnchangelog +++ b/Master/tlpkg/bin/svnchangelog @@ -68,7 +68,7 @@ if ! $chicken && $rotate; then fi # prepend new changes to current log, and put log messages first. -$mydir/svnchangelog.sed $newlogs >$outfile.new +$mydir/../libexec/svnchangelog.sed $newlogs >$outfile.new cat $outfile >>$outfile.new if $debug; then # really debug diff --git a/Master/tlpkg/bin/svnchangelog.sed b/Master/tlpkg/bin/svnchangelog.sed deleted file mode 100755 index 699cacce1f9..00000000000 --- a/Master/tlpkg/bin/svnchangelog.sed +++ /dev/null @@ -1,43 +0,0 @@ -#! /bin/sed -nf -# $Id$ -# Written by Werner Lemberg, 25may06. Public domain. -# svn log outputs the paths first, then the log message. This sed -# script reverses that. - -:main -/------------------------------------------------------------------------/ { - p - n - /r[0-9][0-9]* / { - p - n - /^Changed paths:$/ { - h - n - - :loop1 - /^$/! { - H - n - bloop1 - } - - :loop2 - /------------------------------------------------------------------------/! { - p - n - bloop2 - } - - i\ - - x - p - g - bmain - } - } - bmain -} - -p -- cgit v1.2.3