Patchwork D1286: repoview: consider visibility exceptions in filterrevs()

login
register
mail settings
Submitter phabricator
Date Dec. 1, 2017, 4:40 p.m.
Message ID <850f6f0565dfe7f32c5475d01163e2bf@localhost.localdomain>
Download mbox | patch
Permalink /patch/25863/
State Not Applicable
Headers show

Comments

phabricator - Dec. 1, 2017, 4:40 p.m.
pulkit updated this revision to Diff 4052.

REPOSITORY
  rHG Mercurial

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

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

AFFECTED FILES
  mercurial/repoview.py

CHANGE DETAILS




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

Patch

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