[Updated] D9518: wireprotov2: re-add tuple around `bundle2` check

Alphare (Raphaël Gomès) phabricator at mercurial-scm.org
Sun Dec 6 12:16:16 UTC 2020


Closed by commit rHGaad81032a128: wireprotov2: re-add tuple around `bundle2` check (authored by Alphare).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D9518?vs=24012&id=24063

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D9518/new/

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

AFFECTED FILES
  mercurial/httppeer.py

CHANGE DETAILS

diff --git a/mercurial/httppeer.py b/mercurial/httppeer.py
--- a/mercurial/httppeer.py
+++ b/mercurial/httppeer.py
@@ -895,7 +895,7 @@
             return True
 
         # Other concepts.
-        if name in b'bundle2':
+        if name in (b'bundle2',):
             return True
 
         # Alias command-* to presence of command of that name.



To: Alphare, #hg-reviewers, pulkit
Cc: joerg.sonnenberger, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20201206/01fd6231/attachment-0002.html>


More information about the Mercurial-patches mailing list