summaryrefslogtreecommitdiff
path: root/trunk
diff options
context:
space:
mode:
authoragriffis <agriffis@gentoo.org>2004-03-19 05:23:33 +0000
committeragriffis <agriffis@gentoo.org>2004-03-19 05:23:33 +0000
commit029cc9ed76862953fef5ef9d32614c41b2b82f59 (patch)
tree0a2c26f74cd9aad1755a9320113ed4a08f2633d6 /trunk
parent92cdf5ce4a48233f681a45871ff3644292013245 (diff)
downloadgentoolkit-029cc9ed76862953fef5ef9d32614c41b2b82f59.tar.gz
fix $v bug and remove debug output
svn path=/; revision=93
Diffstat (limited to 'trunk')
-rw-r--r--trunk/src/echangelog/ChangeLog4
-rw-r--r--trunk/src/echangelog/echangelog4
2 files changed, 5 insertions, 3 deletions
diff --git a/trunk/src/echangelog/ChangeLog b/trunk/src/echangelog/ChangeLog
index 5065bd8..5500d44 100644
--- a/trunk/src/echangelog/ChangeLog
+++ b/trunk/src/echangelog/ChangeLog
@@ -1,3 +1,7 @@
+19 Mar 2004 Aron Griffis <agriffis@gentoo.org>
+ * Remove debugging output
+ * Fix $v bug introduced in last commit
+
16 Mar 2004 Aron Griffis <agriffis@gentoo.org>
* Make Feb 17 behavior work without Feb 20 bug :-)
* Release as version 0.2.0
diff --git a/trunk/src/echangelog/echangelog b/trunk/src/echangelog/echangelog
index e2d6c73..5b1fc4c 100644
--- a/trunk/src/echangelog/echangelog
+++ b/trunk/src/echangelog/echangelog
@@ -61,8 +61,6 @@ while (<C>) {
# the changed files we have
@ebuilds = grep /\.ebuild$/, @files;
@files = grep !/\.ebuild$/, @files;
-print "files = @files\n";
-print "ebuilds = @ebuilds\n";
if (@ebuilds) {
open C, "cvs diff -U 0 @ebuilds 2>&1 |" or die "Can't run cvs diff: $!\n";
$_ = <C>;
@@ -85,7 +83,7 @@ if (@ebuilds) {
last if /^[A-Za-z]/;
if (/^[-+](?!# Copyright)/) {
push @files, $f;
- $versions{$2} = $v; # existing ebuild that has changed
+ $versions{$v} = $0; # existing ebuild that has changed
last;
}
}