--- a/mercurial/localrepo.py Mon Sep 30 14:36:11 2013 +0200
+++ b/mercurial/localrepo.py Mon Sep 30 14:23:14 2013 +0200
@@ -39,7 +39,10 @@
"""propertycache that apply to unfiltered repo only"""
def __get__(self, repo, type=None):
- return super(unfilteredpropertycache, self).__get__(repo.unfiltered())
+ unfi = repo.unfiltered()
+ if unfi is repo:
+ return super(unfilteredpropertycache, self).__get__(unfi)
+ return getattr(unfi, self.name)
class filteredpropertycache(propertycache):
"""propertycache that must take filtering in account"""