D4529: narrow: mark wire proto capability names experimental and versioned

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Tue Sep 11 18:18:10 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG576b92928cc7: narrow: mark wire proto capability names experimental and versioned (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4529?vs=10892&id=10895

REVISION DETAIL
  https://phab.mercurial-scm.org/D4529

AFFECTED FILES
  hgext/narrow/narrowwirepeer.py
  tests/test-narrow-clone-non-narrow-server.t

CHANGE DETAILS

diff --git a/tests/test-narrow-clone-non-narrow-server.t b/tests/test-narrow-clone-non-narrow-server.t
--- a/tests/test-narrow-clone-non-narrow-server.t
+++ b/tests/test-narrow-clone-non-narrow-server.t
@@ -33,7 +33,7 @@
   $ echo hello | hg -R . serve --stdio | \
   >   $PYTHON unquote.py | grep narrow
   narrow=v0
-  rev-branch-cache changegroupsubset getbundle known lookup narrow protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash
+  rev-branch-cache changegroupsubset exp-narrow-1 getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash
 
   $ cd ..
 
diff --git a/hgext/narrow/narrowwirepeer.py b/hgext/narrow/narrowwirepeer.py
--- a/hgext/narrow/narrowwirepeer.py
+++ b/hgext/narrow/narrowwirepeer.py
@@ -17,8 +17,8 @@
     wireprotov1server,
 )
 
-NARROWCAP = 'narrow'
-ELLIPSESCAP = 'ellipses'
+NARROWCAP = 'exp-narrow-1'
+ELLIPSESCAP = 'exp-ellipses-1'
 
 def uisetup():
     def peersetup(ui, peer):



To: martinvonz, durin42, #hg-reviewers, indygreg
Cc: indygreg, mercurial-devel


More information about the Mercurial-devel mailing list