hgext/remotefilelog/shallowstore.py
changeset 48875 6000f5b25c9b
parent 43076 2372284d9457
equal deleted inserted replaced
48874:af0b21d5a930 48875:6000f5b25c9b
     2 #
     2 #
     3 # Copyright 2013 Facebook, Inc.
     3 # Copyright 2013 Facebook, Inc.
     4 #
     4 #
     5 # This software may be used and distributed according to the terms of the
     5 # This software may be used and distributed according to the terms of the
     6 # GNU General Public License version 2 or any later version.
     6 # GNU General Public License version 2 or any later version.
     7 from __future__ import absolute_import
       
     8 
     7 
     9 
     8 
    10 def wrapstore(store):
     9 def wrapstore(store):
    11     class shallowstore(store.__class__):
    10     class shallowstore(store.__class__):
    12         def __contains__(self, path):
    11         def __contains__(self, path):