File: //usr/lib/python3/dist-packages/hgext/largefiles/__pycache__/remotestore.cpython-310.pyc
o
�]Lb{ � @ sv d Z ddlmZ ddlmZ ddlmZmZmZ ddl m
Z
mZ ddlm
Z
mZmZ ejZejZG dd � d e
j
�Zd
S )z4remote largefile store; the base class for wirestore� )�absolute_import)�_)�error�pycompat�util)�
stringutil�urlutil� )� basestore�lfutil�
localstorec sh e Zd ZdZ� fdd�Zdd� Zdd� Zdd � Zd
d� Zdd
� Z dd� Z
dd� Zdd� Zdd� Z
� ZS )�remotestorez)a largefile store accessed over a networkc s@ t t| ��|||� d | _|d urt�| j| j| j�| _d S d S )N)�superr
�__init__�_lstorer �ui�repo)�selfr r �url�� __class__� �>/usr/lib/python3/dist-packages/hgext/largefiles/remotestore.pyr $ s
�zremotestore.__init__c C sN | � ||�rt�td�|t�| j�f ��| j�td�|t�| j�f � d S )Ns0 remotestore: could not put %s to remote store %ss'