From 6bd721e672e74635b2d27511bf0a9344e5dac0f8 Mon Sep 17 00:00:00 2001 From: pdmef Date: Mon, 22 Aug 2005 20:29:07 +0000 Subject: [PATCH] Rocco Rutte: - make svnlog2changelog.pl compare revisions for reporting latest (as different subversion versions seem to differ in order of output) - include forgotten up-to-date mutt changelog git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@425 e385b8ad-14ed-0310-8656-cc95a2468c6d --- ChangeLog.mutt | 4 ++++ svnlog2changelog.pl | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog.mutt b/ChangeLog.mutt index b96a691..81474fc 100644 --- a/ChangeLog.mutt +++ b/ChangeLog.mutt @@ -1,3 +1,7 @@ +2005-08-22 16:10:50 Brendan Cully (brendan) + + * pgp.c: Don't attempt to manipulate null pgp output file handles. + 2005-08-16 18:10:11 Paul Walker (brendan) * doc/manual.sgml.head, doc/mutt.man, main.c: -D dumps to stdout, diff --git a/svnlog2changelog.pl b/svnlog2changelog.pl index 5ba0631..82638f3 100755 --- a/svnlog2changelog.pl +++ b/svnlog2changelog.pl @@ -179,7 +179,8 @@ while () { $curauthor = $items[1]; $curcomm = $items[1]; # _keep_ latest rev. number for day - if (not defined ${$changes{$curentry}}{'rev'}) { + if (not defined ${$changes{$curentry}}{'rev'} or + ${$changes{$curentry}}{'rev'} lt substr ($items[0], 1)) { ${$changes{$curentry}}{'rev'} = substr ($items[0], 1); } # _keep_ latest commit time for day -- 2.20.1