durin42 updated this revision to Diff 5980. durin42 edited the summary of this revision.
REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2367?vs=5947&id=5980 REVISION DETAIL https://phab.mercurial-scm.org/D2367 AFFECTED FILES hgext/narrow/narrowcommands.py CHANGE DETAILS diff --git a/hgext/narrow/narrowcommands.py b/hgext/narrow/narrowcommands.py --- a/hgext/narrow/narrowcommands.py +++ b/hgext/narrow/narrowcommands.py @@ -134,14 +134,14 @@ """Wraps archive command to narrow the default includes.""" if narrowrepo.REQUIREMENT in repo.requirements: repo_includes, repo_excludes = repo.narrowpats - includes = set(opts.get('include', [])) - excludes = set(opts.get('exclude', [])) + includes = set(opts.get(r'include', [])) + excludes = set(opts.get(r'exclude', [])) includes, excludes, unused_invalid = narrowspec.restrictpatterns( includes, excludes, repo_includes, repo_excludes) if includes: - opts['include'] = includes + opts[r'include'] = includes if excludes: - opts['exclude'] = excludes + opts[r'exclude'] = excludes return orig(ui, repo, *args, **opts) def pullbundle2extraprepare(orig, pullop, kwargs): To: durin42, #hg-reviewers, indygreg Cc: indygreg, pulkit, mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel