Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib64/python3.9/site-packages/mercurial/__pycache__/ |
Upload File : |
a �+�b_ � @ s� d dl mZ d dlZddlmZ ddlmZmZmZm Z m Z mZ ddlm ZmZ e�d�Ze�d�ZejZedu rzejZnejZd ZG d d� de�ZG dd � d e�Zedur�G dd � d e�ZdS )� )�absolute_importN� )�_)�error�pathutil�policy�pycompat�txnutil�util)�docket�v2�parsersZdirstatei���c @ s� e Zd ZdZdZdZdd� Zdd� Zd2dd�Zd d � Z dd� Z d d� Zdd� Zd3dd�Z d4dd�Zdd� Zdd� Zdd� Zdd� Zdd� Zd d!� Zd"d#� Zd5d%d&�Zd'd(� Zd6d*d+�Zed,d-� �Zd.d/� Zd0d1� ZdS )7�_dirstatemapcommonz� Methods that are identical for both implementations of the dirstatemap class, with and without Rust extensions enabled. Nc C sF || _ || _|| _|| _|| _d| _d| _d | _d| _d | _ d | _ d S )Ns dirstate� F)�_use_dirstate_v2�_nodeconstantsZ_ui�_opener�_root� _filename�_nodelen�_parents� _dirtyparents�_docket�_pendingmode)�selfZui�opener�rootZ nodeconstantsZuse_dirstate_v2� r �;/usr/lib64/python3.9/site-packages/mercurial/dirstatemap.py�__init__2 s z_dirstatemapcommon.__init__c C s | j dS )z5Loads the underlying data, if it's not already loadedN��_map�r r r r �preloadA s z_dirstatemapcommon.preloadc C s | j �||�S �N)r! �get)r �key�defaultr r r r% E s z_dirstatemapcommon.getc C s t | j�S r$ )�lenr! r"