D1286: repoview: consider visibility exceptions in filterrevs()

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Tue Nov 28 21:06:30 EST 2017


pulkit updated this revision to Diff 3957.
pulkit retitled this revision from "repoview: consider visibility exceptions in computehidden()" to "repoview: consider visibility exceptions in filterrevs()".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1286?vs=3785&id=3957

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

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
@@ -148,7 +148,7 @@
     if filtername not in repo.filteredrevcache:
         func = filtertable[filtername]
         repo.filteredrevcache[filtername] = func(repo.unfiltered())
-    return repo.filteredrevcache[filtername]
+    return repo.filteredrevcache[filtername] - repo.getvisibilityexceptions()
 
 class repoview(object):
     """Provide a read/write view of a repo through a filtered changelog



To: pulkit, #hg-reviewers, quark
Cc: quark, mercurial-devel


More information about the Mercurial-devel mailing list