hgext/remotefilelog/contentstore.py
changeset 43506 9f70512ae2cf
parent 43117 8ff1ecfadcd1
child 44452 9d2b2df2c2ba
equal deleted inserted replaced
43505:47fac1692ede 43506:9f70512ae2cf
    38 class unioncontentstore(basestore.baseunionstore):
    38 class unioncontentstore(basestore.baseunionstore):
    39     def __init__(self, *args, **kwargs):
    39     def __init__(self, *args, **kwargs):
    40         super(unioncontentstore, self).__init__(*args, **kwargs)
    40         super(unioncontentstore, self).__init__(*args, **kwargs)
    41 
    41 
    42         self.stores = args
    42         self.stores = args
    43         self.writestore = kwargs.get(r'writestore')
    43         self.writestore = kwargs.get('writestore')
    44 
    44 
    45         # If allowincomplete==True then the union store can return partial
    45         # If allowincomplete==True then the union store can return partial
    46         # delta chains, otherwise it will throw a KeyError if a full
    46         # delta chains, otherwise it will throw a KeyError if a full
    47         # deltachain can't be found.
    47         # deltachain can't be found.
    48         self.allowincomplete = kwargs.get(r'allowincomplete', False)
    48         self.allowincomplete = kwargs.get('allowincomplete', False)
    49 
    49 
    50     def get(self, name, node):
    50     def get(self, name, node):
    51         """Fetches the full text revision contents of the given name+node pair.
    51         """Fetches the full text revision contents of the given name+node pair.
    52         If the full text doesn't exist, throws a KeyError.
    52         If the full text doesn't exist, throws a KeyError.
    53 
    53