Patchwork copies: fix typo in comment

login
register
mail settings
Submitter Gábor Stefanik
Date Aug. 22, 2017, 2:09 p.m.
Message ID <e02a08d63ad20097419f.1503410944@GSTEFANIK.NavnGo.local>
Download mbox | patch
Permalink /patch/23202/
State Accepted
Headers show

Comments

Gábor Stefanik - Aug. 22, 2017, 2:09 p.m.
# HG changeset patch
# User Gábor Stefanik <gabor.stefanik@nng.com>
# Date 1503410911 -7200
#      Tue Aug 22 16:08:31 2017 +0200
# Node ID e02a08d63ad20097419f935fdd8a91c42ecd88e3
# Parent  af20468eb0a499c094dbd6e27ffcacf54cf5a8e6
copies: fix typo in comment

"will not be limited" was meant to be "will not be visited". I missed this
when writing the original graft-through-rename patch series.

________________________________
 This message, including its attachments, is confidential and the property of NNG Llc. For more information please read NNG's email policy here:
http://www.nng.com/emailpolicy/
By responding to this email you accept the email policy.
Yuya Nishihara - Aug. 23, 2017, 1:44 p.m.
On Tue, 22 Aug 2017 16:09:04 +0200, Gábor Stefanik wrote:
> # HG changeset patch
> # User Gábor Stefanik <gabor.stefanik@nng.com>
> # Date 1503410911 -7200
> #      Tue Aug 22 16:08:31 2017 +0200
> # Node ID e02a08d63ad20097419f935fdd8a91c42ecd88e3
> # Parent  af20468eb0a499c094dbd6e27ffcacf54cf5a8e6
> copies: fix typo in comment

Queued, thanks.

Patch

diff -r af20468eb0a4 -r e02a08d63ad2 mercurial/copies.py

--- a/mercurial/copies.py       Mon Aug 21 21:35:06 2017 -0700

+++ b/mercurial/copies.py       Tue Aug 22 16:08:31 2017 +0200

@@ -635,8 +635,8 @@ 

     limit = the rev number to not search beyond
     data = dictionary of dictionary to store copy data. (see mergecopies)

-    note: limit is only an optimization, and there is no guarantee that

-    irrelevant revisions will not be limited

+    note: limit is only an optimization, and provides no guarantee that

+    irrelevant revisions will not be visited

     there is no easy way to make this algorithm stop in a guaranteed way
     once it "goes behind a certain revision".
     """