File: //lib/python3/dist-packages/hgext/remotefilelog/__pycache__/remotefilelog.cpython-310.pyc
o
�]Lb�= � @ s� d dl mZ d dlZd dlZd dlmZ d dlmZ d dlm Z m
Z
mZmZm
Z
d dlmZ d dlmZ dd lmZmZmZ G d
d� de�ZG dd
� d
e�ZdS )� )�absolute_importN)�bin)�_)�ancestor�error�mdiff�pycompat�revlog)�storageutil)�flagutil� )� constants�fileserverclient�shallowutilc @ s$ e Zd Zdd� Zdd� Zdd� ZdS )�remotefilelognodemapc C s || _ || _d S �N)� _filename�_store)�self�filename�store� r �C/usr/lib/python3/dist-packages/hgext/remotefilelog/remotefilelog.py�__init__! s
zremotefilelognodemap.__init__c C s | j �| j|fg�}t|� S r )r �
getmissingr �bool)r �node�missingr r r �__contains__% s
z!remotefilelognodemap.__contains__c C s || vrt |��|S r )�KeyError�r r r r r �__get__) s zremotefilelognodemap.__get__N)�__name__�
__module__�__qualname__r r r! r r r r r s r c @ sJ e Zd ZdZejZdd� Zdd� ZdFdd�Z d d
� Z
ddejdfdd�Z
dFd
d�Zdd� Zdd� ZeZdd� Zdd� ZeZdd� Zdd� Zdd� Zdd� Zdd � Zd!d"� Zd#d$� Zd%d&� Z ' ' ' dGd(d)�Zd*d+� Zd,d-� Zd.d/� Z d0d1� Z!dHd2d3�Z"d4d5� Z#d6d7� Z$d8d9� Z%d:d;� Z&d<d=� Z'd>d?� Z(d@dA� Z)dBdC� Z*dDdE� Z+dS )I�
remotefilelogTc C s8 || _ || _|| _t| j|j�| _d| _ttj �| _
d S )Nr )�openerr �repor �contentstore�nodemap�version�dictr �flagprocessors�_flagprocessors)r r&