From: Ian Jackson Date: Sat, 21 Dec 2013 19:23:00 +0000 (+0000) Subject: Use newest (not oldest) version currently in suite when calculating what value to... X-Git-Tag: debian/0.20^0 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;ds=sidebyside;h=230384a7474c7efa00d4fb1bcd4182ea6d4d12fa;p=dgit.git Use newest (not oldest) version currently in suite when calculating what value to use for -v by default. Closes:#732781. --- diff --git a/debian/changelog b/debian/changelog index 73763bc3..1c2ca2d4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +dgit (0.20) unstable; urgency=high + + * Use newest (not oldest) version currently in suite when calculating + what value to use for -v by default. Closes:#732781. + + -- Ian Jackson Sat, 21 Dec 2013 19:13:56 +0000 + dgit (0.19) unstable; urgency=low Testing facilities: diff --git a/dgit b/dgit index 9b895b03..61af3b81 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 {