summaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src')
-rw-r--r--trunk/src/echangelog/ChangeLog3
-rw-r--r--trunk/src/echangelog/echangelog4
2 files changed, 7 insertions, 0 deletions
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 <agriffis@gentoo.org>
+ * handle package moves without adding new version lines
+
08 Mar 2005 Aron Griffis <agriffis@gentoo.org>
* 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);