changeset 18359:4b09e6f7d7de

commandserver: report capabilities sorted
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 12 Dec 2012 02:38:14 +0100
parents 93293813d753
children 760c0d67ce5e
files mercurial/commandserver.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commandserver.py	Wed Dec 12 02:38:14 2012 +0100
+++ b/mercurial/commandserver.py	Wed Dec 12 02:38:14 2012 +0100
@@ -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