File: //usr/lib/python3/dist-packages/hgext/remotefilelog/__pycache__/shallowrepo.cpython-310.pyc
o
�]Lb / � @ s� d dl mZ d dlZd dlmZ d dlmZmZ d dlm Z m
Z
mZmZm
Z
mZmZmZ d dlmZ ddlmZmZmZmZmZmZmZmZmZmZ d d
� Zdd� Zd
d� Z dd� Z!dd� Z"dd� Z#dS )� )�absolute_importN)�_)�hex�nullrev)�encoding�error� localrepo�match�pycompat�scmutil�sparse�util)�procutil� )
�connectionpool� constants�contentstore�datapack�fileserverclient�historypack�
metadatastore�
remotefilectx�
remotefilelog�shallowutilc C sZ t j�| jjjd�}t j�|�st �|� tj | || j
dd�}tj| || j
dd�}||fS )z:In-repo stores, like .hg/store/data; can not be discarded.s dataF��shared)
�os�path�join�svfs�vfs�base�exists�makedirsr �remotefilelogcontentstore�namer �remotefilelogmetadatastore)�repo� localpath�localcontent�
localmetadata� r+ �A/usr/lib/python3/dist-packages/hgext/remotefilelog/shallowrepo.py�makelocalstores'