[PATCH] wireproto: remove unused code

Jun Wu quark at fb.com
Wed Feb 22 18:18:58 UTC 2017


# HG changeset patch
# User Jun Wu <quark at fb.com>
# Date 1487787258 28800
#      Wed Feb 22 10:14:18 2017 -0800
# Node ID 2cf1e5207fdfb3beac255dbacf74b8ac03e5125d
# Parent  80f04ba7f4d1f439d726068f02172f9a52b981fe
# Available At https://bitbucket.org/quark-zju/hg-draft
#              hg pull https://bitbucket.org/quark-zju/hg-draft -r 2cf1e5207fdf
wireproto: remove unused code

Removed an unused line introduced by f3807a135e43.

diff --git a/mercurial/wireproto.py b/mercurial/wireproto.py
--- a/mercurial/wireproto.py
+++ b/mercurial/wireproto.py
@@ -841,5 +841,4 @@ def getbundle(repo, proto, others):
                               hint=bundle2requiredhint)
 
-    #chunks = exchange.getbundlechunks(repo, 'serve', **opts)
     try:
         chunks = exchange.getbundlechunks(repo, 'serve', **opts)


More information about the Mercurial-devel mailing list