Code moved to the new script make-changelog-diff, called from here.
authorFrancesco Potortì <pot@gnu.org>
Mon, 10 Feb 2003 14:30:19 +0000 (14:30 +0000)
committerFrancesco Potortì <pot@gnu.org>
Mon, 10 Feb 2003 14:30:19 +0000 (14:30 +0000)
admin/ChangeLog
admin/make-announcement

index 2be6d90..7f619f6 100644 (file)
@@ -1,3 +1,9 @@
+2003-02-10  Francesco Potort\e,Al\e(B  <pot@gnu.org>
+
+       * make-changelog-diff: New script, code stolen from make-announcement.
+
+       * make-announcement: Use make-changelog-diff.
+
 2003-01-20  Francesco Potort\e,Al\e(B  <pot@gnu.org>
 
        * make-tarball.txt: Step-by-step instructions for making a tarball.
index 3201a01..9f69889 100755 (executable)
@@ -61,19 +61,6 @@ Changes since $OLD
 
 EOF
 
-cvs -q diff -b -r $oldtag -r $newtag $(find -name ChangeLog|sort) |
-    sed -n -e 's/^=\+/======/p' -e 's/^> //p' -e 's/^diff.*//p' \
-       -e 's/^RCS file: .cvsroot.emacs.emacs.\(.*\),v/\1/p' |
-    sed -n -e "/^======$/ {
-                N
-                N
-                h
-                d
-               }
-               H
-               s/.*//
-               x
-               s/^\n//
-              p"
+make-changelog-diff $oldtag $newtag
 
 echo " announcement created in $outfile" >&2