D2387: narrowbundle2: use native string to get kwargs from dict
This revision was automatically updated to reflect the committed changes. Closed by commit rHGac7873dea67f: narrowbundle2: use native string to get kwargs from dict (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2387?vs=5986=5991 REVISION DETAIL https://phab.mercurial-scm.org/D2387 AFFECTED FILES hgext/narrow/narrowbundle2.py CHANGE DETAILS diff --git a/hgext/narrow/narrowbundle2.py b/hgext/narrow/narrowbundle2.py --- a/hgext/narrow/narrowbundle2.py +++ b/hgext/narrow/narrowbundle2.py @@ -229,8 +229,8 @@ raise ValueError(_("server does not advertise changegroup version," " can't negotiate support for ellipsis nodes")) -include = sorted(filter(bool, kwargs.get('includepats', []))) -exclude = sorted(filter(bool, kwargs.get('excludepats', []))) +include = sorted(filter(bool, kwargs.get(r'includepats', []))) +exclude = sorted(filter(bool, kwargs.get(r'excludepats', []))) newmatch = narrowspec.match(repo.root, include=include, exclude=exclude) if not repo.ui.configbool("experimental", "narrowservebrokenellipses"): outgoing = exchange._computeoutgoing(repo, heads, common) To: durin42, #hg-reviewers, indygreg Cc: mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
D2387: narrowbundle2: use native string to get kwargs from dict
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 1. skip-blame just some r prefixes on strings REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2387 AFFECTED FILES hgext/narrow/narrowbundle2.py CHANGE DETAILS diff --git a/hgext/narrow/narrowbundle2.py b/hgext/narrow/narrowbundle2.py --- a/hgext/narrow/narrowbundle2.py +++ b/hgext/narrow/narrowbundle2.py @@ -229,8 +229,8 @@ raise ValueError(_("server does not advertise changegroup version," " can't negotiate support for ellipsis nodes")) -include = sorted(filter(bool, kwargs.get('includepats', []))) -exclude = sorted(filter(bool, kwargs.get('excludepats', []))) +include = sorted(filter(bool, kwargs.get(r'includepats', []))) +exclude = sorted(filter(bool, kwargs.get(r'excludepats', []))) newmatch = narrowspec.match(repo.root, include=include, exclude=exclude) if not repo.ui.configbool("experimental", "narrowservebrokenellipses"): outgoing = exchange._computeoutgoing(repo, heads, common) To: durin42, #hg-reviewers Cc: mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel