diff options
Diffstat (limited to 'Master/tlpkg/bin/svnchangelog.sed')
-rwxr-xr-x | Master/tlpkg/bin/svnchangelog.sed | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/Master/tlpkg/bin/svnchangelog.sed b/Master/tlpkg/bin/svnchangelog.sed new file mode 100755 index 00000000000..699cacce1f9 --- /dev/null +++ b/Master/tlpkg/bin/svnchangelog.sed @@ -0,0 +1,43 @@ +#! /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 |