From: idl0r Date: Sat, 23 Oct 2010 13:22:25 +0000 (-0000) Subject: echangelog: Fix version bump detection for hg/mercurial, bug 335636, X-Git-Tag: gentoolkit-dev-0.2.8~14 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b9737df793a378d0e58b6eb96c689d9379c5dc3b;p=gentoolkit.git echangelog: Fix version bump detection for hg/mercurial, bug 335636, thanks to Mike Gilbert . svn path=/trunk/gentoolkit-dev/; revision=818 --- diff --git a/ChangeLog b/ChangeLog index 3652b25..43a67c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-10-23: Christian Ruppert + * echangelog: Fix version bump detection for hg/mercurial, bug 335636, + thanks to Mike Gilbert . + 2010-10-19: Christian Ruppert * eshowkw: Apply a patch from Mart Raudsepp to speedup version_sort(). Remove unused functions. diff --git a/src/echangelog/echangelog b/src/echangelog/echangelog index 9dd7c1f..1da2734 100755 --- a/src/echangelog/echangelog +++ b/src/echangelog/echangelog @@ -584,7 +584,7 @@ if (@ebuilds) { close C; # Subversion diff doesn't identify new versions. So use the status command -if (($vcs eq "svn") and (@ebuilds)) { +if (($vcs eq "svn" or $vcs eq "hg") and (@ebuilds)) { open C, $vcs{$vcs}{status}." @ebuilds 2>&1 |" or die "Can't run: ".$vcs{$vcs}{status}."$!\n"; $_ = ;