diff mercurial/obsolete.py @ 18001:e02feadd15ea

clfilter: unfilter computation of obsolescence related computation All obsolescence related sets need to be computed on the full unfiltered version of the repository, in particular because several of them (obsolete, extinct) are used to compute the hidden revisions. On a filtered repo, revset predicates related to these sets will be properly filtered because of revset's own pre-filtering.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Mon, 08 Oct 2012 16:55:00 +0200
parents 70b08df24fef
children 4bec77e62c00
line wrap: on
line diff
--- a/mercurial/obsolete.py	Mon Nov 26 19:24:11 2012 +0100
+++ b/mercurial/obsolete.py	Mon Oct 08 16:55:00 2012 +0200
@@ -426,6 +426,7 @@
     """Return the set of revision that belong to the <name> set
 
     Such access may compute the set and cache it for future use"""
+    repo = repo.unfiltered()
     if not repo.obsstore:
         return ()
     if name not in repo.obsstore.caches: