Patchwork util: remove doc of long gone 'targetsize' argument

login
register
mail settings
Submitter via Mercurial-devel
Date May 3, 2017, 4:58 a.m.
Message ID <c73a57fc0fb37d3e846f.1493787530@martinvonz.svl.corp.google.com>
Download mbox | patch
Permalink /patch/20394/
State Accepted
Headers show

Comments

via Mercurial-devel - May 3, 2017, 4:58 a.m.
# HG changeset patch
# User Martin von Zweigbergk <martinvonz@google.com>
# Date 1493745644 25200
#      Tue May 02 10:20:44 2017 -0700
# Branch stable
# Node ID c73a57fc0fb37d3e846fe23dce56bb9771fe7f09
# Parent  7c76f3923b6a4fd6a35a9b498be15b9c549955eb
util: remove doc of long gone 'targetsize' argument

Gone since fa836e050c50 (chunkbuffer: removed unused method and arg,
2007-10-11).
Yuya Nishihara - May 3, 2017, 7:56 a.m.
On Tue, 02 May 2017 21:58:50 -0700, Martin von Zweigbergk via Mercurial-devel wrote:
> # HG changeset patch
> # User Martin von Zweigbergk <martinvonz@google.com>
> # Date 1493745644 25200
> #      Tue May 02 10:20:44 2017 -0700
> # Branch stable
> # Node ID c73a57fc0fb37d3e846fe23dce56bb9771fe7f09
> # Parent  7c76f3923b6a4fd6a35a9b498be15b9c549955eb
> util: remove doc of long gone 'targetsize' argument

Sure. Queued, thanks.

Patch

diff --git a/mercurial/util.py b/mercurial/util.py
--- a/mercurial/util.py
+++ b/mercurial/util.py
@@ -1724,8 +1724,7 @@ 
     iterator over chunks of arbitrary size."""
 
     def __init__(self, in_iter):
-        """in_iter is the iterator that's iterating over the input chunks.
-        targetsize is how big a buffer to try to maintain."""
+        """in_iter is the iterator that's iterating over the input chunks."""
         def splitbig(chunks):
             for chunk in chunks:
                 if len(chunk) > 2**20: