hgext/narrow/narrowrepo.py
changeset 37374 ac42e39b1b77
parent 37373 c50078fc32f3
child 37380 c3c76194f0c1
equal deleted inserted replaced
37373:c50078fc32f3 37374:ac42e39b1b77
    48         # a bundlerepo.
    48         # a bundlerepo.
    49         cacheprop = lambda name: localrepo.unfilteredpropertycache
    49         cacheprop = lambda name: localrepo.unfilteredpropertycache
    50 
    50 
    51     class narrowrepository(repo.__class__):
    51     class narrowrepository(repo.__class__):
    52 
    52 
    53         @cacheprop('00manifest.i')
       
    54         def manifestlog(self):
       
    55             mfl = super(narrowrepository, self).manifestlog
       
    56             narrowrevlog.makenarrowmanifestlog(mfl, self)
       
    57             return mfl
       
    58 
       
    59         def file(self, f):
    53         def file(self, f):
    60             fl = super(narrowrepository, self).file(f)
    54             fl = super(narrowrepository, self).file(f)
    61             narrowrevlog.makenarrowfilelog(fl, self.narrowmatch())
    55             narrowrevlog.makenarrowfilelog(fl, self.narrowmatch())
    62             return fl
    56             return fl
    63 
    57