]> git.eshelyaron.com Git - emacs.git/commitdiff
rcs2log now groks add-log-time-zone rule
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 12 Apr 2024 20:14:29 +0000 (13:14 -0700)
committerEshel Yaron <me@eshelyaron.com>
Sun, 14 Apr 2024 17:09:32 +0000 (19:09 +0200)
* lib-src/rcs2log (extractTZ): Adjust to renaming of
change-log-time-zone-rule to add-log-time-zone rule, by allowing
either spelling.

(cherry picked from commit c26261c027ef7594427d477208b8126d6e4982bd)

lib-src/rcs2log

index 61301e7246d77ea6e8e7aabf5d5932ee69f31158..94234d01c98bd747bedbb714086eb0cf86a210f4 100755 (executable)
@@ -261,10 +261,10 @@ case $rlogfile in
        if test -s "$changelog"
        then
                extractTZ='
-                       /^.*change-log-time-zone-rule['"$tab"' ]*:['"$tab"' ]*"\([^"]*\)".*/{
+                       /^.*-log-time-zone-rule['"$tab"' ]*:['"$tab"' ]*"\([^"]*\)".*/{
                                s//\1/; p; q
                        }
-                       /^.*change-log-time-zone-rule['"$tab"' ]*:['"$tab"' ]*t.*/{
+                       /^.*-log-time-zone-rule['"$tab"' ]*:['"$tab"' ]*t.*/{
                                s//UTC0/; p; q
                        }
                '