[PATCH 10 of 10 py3] repoview: specify setattr values as native strings
Pulkit Goyal
7895pulkit at gmail.com
Sun Mar 12 15:13:59 EDT 2017
This series don't include any rocket science, so must be pushed. LGTM
On Mon, Mar 13, 2017 at 12:27 AM, Augie Fackler <raf at durin42.com> wrote:
> # HG changeset patch
> # User Augie Fackler <augie at google.com>
> # Date 1489297686 18000
> # Sun Mar 12 00:48:06 2017 -0500
> # Node ID 2ca323667f43ebf95f29d671fd00f3ae7753fa09
> # Parent e8cceea7006f5b63cc17444d2552b54c1b97f33a
> repoview: specify setattr values as native strings
>
> diff --git a/mercurial/repoview.py b/mercurial/repoview.py
> --- a/mercurial/repoview.py
> +++ b/mercurial/repoview.py
> @@ -331,8 +331,8 @@ class repoview(object):
> if cl is None:
> cl = copy.copy(unfichangelog)
> cl.filteredrevs = revs
> - object.__setattr__(self, '_clcache', cl)
> - object.__setattr__(self, '_clcachekey', newkey)
> + object.__setattr__(self, r'_clcache', cl)
> + object.__setattr__(self, r'_clcachekey', newkey)
> return cl
>
> def unfiltered(self):
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20170313/60275f01/attachment.html>
More information about the Mercurial-devel
mailing list