[PATCH] tests: make hghave list features alphabetically
Yuya Nishihara
yuya at tcha.org
Sat Oct 4 05:37:24 CDT 2014
# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1412410942 -32400
# Sat Oct 04 17:22:22 2014 +0900
# Node ID 873141518d7b02d2c23220850f3b85722bfeead8
# Parent 9b04af3305559a96ee310e9ba6766de1c4ffa63a
tests: make hghave list features alphabetically
diff --git a/tests/hghave b/tests/hghave
--- a/tests/hghave
+++ b/tests/hghave
@@ -10,7 +10,7 @@ import hghave
checks = hghave.checks
def list_features():
- for name, feature in checks.iteritems():
+ for name, feature in sorted(checks.iteritems()):
desc = feature[1]
print name + ':', desc
More information about the Mercurial-devel
mailing list