Suppress FAQ and TODO changes in pgcvslog output.
authorBruce Momjian
Tue, 27 Sep 2005 17:16:08 +0000 (17:16 +0000)
committerBruce Momjian
Tue, 27 Sep 2005 17:16:08 +0000 (17:16 +0000)
src/tools/pgcvslog

index 3dc58febe9544f73c187098ef41c5e85fcb37823..3e3ca138571b8a45bfb21b7ddf1ee9ec315ded22 100755 (executable)
@@ -51,6 +51,12 @@ awk '    BEGIN   {html="'"$HTML"'"; lineno = 0;}
    # store working directory
    $0 ~ /^Working file:/   {workingfile = "/" $3}
 
+   # no need to show TODO or FAQ changes in the output
+   $0 !~ /^====*$/ &&
+   (workingfile == "/doc/TODO" || workingfile == "/doc/src/FAQ/TODO.html" ||
+    workingfile == "/doc/FAQ" || workingfile == "/doc/src/FAQ/FAQ.html") \
+       {next}
+
    ($0 ~ /^====*$/ || $0 ~ /^----*$/) \
    {
        # print blank line to separate entries