Patchwork D7490: repoview: add an explicit set of all filter that show the wc parents

login
register
mail settings
Submitter phabricator
Date Nov. 24, 2019, 12:59 a.m.
Message ID <57fb9dbc62639ff4b14959f7986d645c@localhost.localdomain>
Download mbox | patch
Permalink /patch/43501/
State Not Applicable
Headers show

Comments

phabricator - Nov. 24, 2019, 12:59 a.m.
Closed by commit rHGa1cd36171ea1: repoview: add an explicit set of all filter that show the wc parents (authored by marmoute).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7490?vs=18297&id=18375

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7490/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7490

AFFECTED FILES
  mercurial/repoview.py

CHANGE DETAILS




To: marmoute, #hg-reviewers, indygreg
Cc: mercurial-devel

Patch

diff --git a/mercurial/repoview.py b/mercurial/repoview.py
--- a/mercurial/repoview.py
+++ b/mercurial/repoview.py
@@ -177,6 +177,9 @@ 
     b'base': computeimpactable,
 }
 
+# set of filter level that will include the working copy parent no matter what.
+filter_has_wc = {b'visible', b'visible-hidden'}
+
 _basefiltername = list(filtertable)