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

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Sat Nov 23 19:59:40 EST 2019


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

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)
 
 



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


More information about the Mercurial-devel mailing list