[PATCH] copies: fix typo in comment

Gábor Stefanik gabor.stefanik at nng.com
Tue Aug 22 14:09:04 UTC 2017


# HG changeset patch
# User Gábor Stefanik <gabor.stefanik at 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.

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".
     """
________________________________
 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.


More information about the Mercurial-devel mailing list