##// END OF EJS Templates
stream: sort stream capability before serialisation...
Pierre-Yves David -
r26911:d7e5e4da default
parent child Browse files
Show More
@@ -585,7 +585,7 b' def _capabilities(repo, proto):'
585 caps.append('stream')
585 caps.append('stream')
586 # otherwise, add 'streamreqs' detailing our local revlog format
586 # otherwise, add 'streamreqs' detailing our local revlog format
587 else:
587 else:
588 caps.append('streamreqs=%s' % ','.join(requiredformats))
588 caps.append('streamreqs=%s' % ','.join(sorted(requiredformats)))
589 if repo.ui.configbool('experimental', 'bundle2-advertise', True):
589 if repo.ui.configbool('experimental', 'bundle2-advertise', True):
590 capsblob = bundle2.encodecaps(bundle2.getrepocaps(repo))
590 capsblob = bundle2.encodecaps(bundle2.getrepocaps(repo))
591 caps.append('bundle2=' + urllib.quote(capsblob))
591 caps.append('bundle2=' + urllib.quote(capsblob))
General Comments 0
You need to be logged in to leave comments. Login now