chiark / gitweb /
autopkgtests: dummycat archive query sorts its results
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 17 Nov 2013 14:53:09 +0000 (14:53 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 24 Nov 2013 17:45:26 +0000 (17:45 +0000)
dgit

diff --git a/dgit b/dgit
index 7030504..38b3364 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -763,7 +763,7 @@ sub archive_query_dummycat ($$) {
     }
     C->error and die "$dpath: $!";
     close C;
-    return @rows;
+    return sort { -version_compare_string($a->[0],$b->[0]); } @rows;
 }
 
 sub canonicalise_suite () {