From f4bddf72d233a0c197129caee9a161167ac09d2c Mon Sep 17 00:00:00 2001 From: agriffis Date: Wed, 23 Mar 2005 13:48:22 +0000 Subject: [PATCH] handle package moves without adding new version lines svn path=/; revision=201 --- trunk/src/echangelog/ChangeLog | 3 +++ trunk/src/echangelog/echangelog | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/trunk/src/echangelog/ChangeLog b/trunk/src/echangelog/ChangeLog index d16ae1c..698167e 100644 --- a/trunk/src/echangelog/ChangeLog +++ b/trunk/src/echangelog/ChangeLog @@ -1,3 +1,6 @@ +23 Mar 2005 Aron Griffis + * handle package moves without adding new version lines + 08 Mar 2005 Aron Griffis * don't complain about cvs add of digests #84377 * use gmtime instead of localtime diff --git a/trunk/src/echangelog/echangelog b/trunk/src/echangelog/echangelog index 750828c..0aed254 100644 --- a/trunk/src/echangelog/echangelog +++ b/trunk/src/echangelog/echangelog @@ -194,6 +194,10 @@ if (@ebuilds) { } close C; +# When a package move occurs, the versions appear to be new even though they are +# not. Trim them from @new_versions in that case. +@new_versions = grep { $text !~ /^\*$_\s/m } @new_versions; + # Check if we have any files left, otherwise re-insert ebuild list # (of course, both might be empty anyway) @files = @ebuilds unless (@files); -- 2.26.2