Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commandserver.py @ 18359:4b09e6f7d7de
commandserver: report capabilities sorted
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 12 Dec 2012 02:38:14 +0100 |
parents | 56ef99fbd6f2 |
children | b04cc8651a63 |
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