diff mercurial/localrepo.py @ 21145:0c5088be66af

bundle2: rename server capability to bundle2-exp For the same reason, we advertise this bundle2 implementation and format as experimental. This will leave room for field testing in 3.0 but won't conflict with a stable implementation in 3.1.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Thu, 17 Apr 2014 15:33:17 -0400
parents 7a20fe8dc080
children 2a246e737f92
line wrap: on
line diff
--- a/mercurial/localrepo.py	Thu Apr 17 15:27:54 2014 -0400
+++ b/mercurial/localrepo.py	Thu Apr 17 15:33:17 2014 -0400
@@ -308,7 +308,7 @@
         if self.ui.configbool('server', 'bundle2', False):
             caps = set(caps)
             capsblob = bundle2.encodecaps(self.bundle2caps)
-            caps.add('bundle2=' + urllib.quote(capsblob))
+            caps.add('bundle2-exp=' + urllib.quote(capsblob))
         return caps
 
     def _applyrequirements(self, requirements):