D1286: repoview: consider visibility exceptions in filterrevs()
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Fri Dec 1 16:40:37 UTC 2017
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
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