Joey Hess writes ("Bug#732781: including old versions in changes"):
> For some reason dgit has started including multiple past releases in the
> .changes files. This despite all recent releases having been made by
> dgit. Example .changes attached has releases back to 5.20131118.

Sorry about this.  It was a version comparison sense error.  I've sent
the fix to unstable but if you want you can apply this.

Ian.

diff --git a/dgit b/dgit
index 9b895b0..61af3b8 100755
--- a/dgit
+++ b/dgit
@@ -1803,7 +1803,7 @@ sub changesopts () {
        my @vsns = archive_query('archive_query');
        if (@vsns) {
            @vsns = map { $_->[0] } @vsns;
-           @vsns = sort { version_compare_string($a, $b) } @vsns;
+           @vsns = sort { -version_compare_string($a, $b) } @vsns;
            $changes_since_version = $vsns[0];
            progress "changelog will contain changes since $vsns[0]";
        } else {


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to