chiark / gitweb /
Add Testsuite debian/control header
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 38b3364829f8f200a53e33372d623de761184bc0..61af3b81f00a82a323e17e14092c78d8694b6058 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -465,6 +465,7 @@ our %defcfg = ('dgit.default.distro' => 'debian',
               'dgit-distro.test-dummy.git-path' => "$td/git",
               'dgit-distro.test-dummy.archive-query' => "dummycat:$td/aq",
               'dgit-distro.test-dummy.mirror' => "file://$td/mirror/",
+              'dgit-distro.test-dummy.upload-host' => 'test-dummy',
                );
 
 sub cfg {
@@ -1802,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 {