[PATCH 05 of 24] commandserver: report capabilities sorted
Mads Kiilerich
mads at kiilerich.com
Sun Dec 16 16:34:00 CST 2012
# HG changeset patch
# User Mads Kiilerich <mads at kiilerich.com>
# Date 1355276294 -3600
# Node ID cba5d81f70e88ebd6647ce7d67467da6c3cd31b1
# Parent 98197a95d1d11271802d2afbf471909977483649
commandserver: report capabilities sorted
diff --git a/mercurial/commandserver.py b/mercurial/commandserver.py
--- a/mercurial/commandserver.py
+++ b/mercurial/commandserver.py
@@ -220,7 +220,7 @@
'getencoding' : getencoding}
def serve(self):
- hellomsg = 'capabilities: ' + ' '.join(self.capabilities.keys())
+ hellomsg = 'capabilities: ' + ' '.join(sorted(self.capabilities))
hellomsg += '\n'
hellomsg += 'encoding: ' + encoding.encoding
More information about the Mercurial-devel
mailing list